Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: makelrf, possible on OSX?: msg#00149

Subject: Re: makelrf, possible on OSX?
Hi, William.

The ".diff" file should be used with "patch" command.
Please try as follows:

First, download "makelrf3.zip" and "makelrf3_BE_osx.diff" into 
a same folder. (ex. /Users/someone/makelrf3 )

$ cd /Users/someone/makelrf3

$ unzip makelrf3.zip

$ cd sources

$ patch -p1 < ../makelrf3_BE_osx.diff
patching file book.c   

$ gcc -lz makelrf.c book.c -o makelrf

Finally, you will get "makelrf" binary code for OSX.

---
    Shoichiro Nagata

--- In librie@xxxxxxxxxxxxxxx, "wdmoates" <wdmoates@xxxx> wrote:
> shoichironagata,
> 
> I'm trying to compile makelrf to run on my Mac OSX 10.3.9.  It
> compiles fine, but can't process the text file, probably because Macs
> are big-endian, and PCs are little-endian.  I've downloaded your diff
> file (makelrf3_BE_osx.diff) from the Yahoo Librie group files, but I
> don't know how to run it.  Do I just type "run filename.diff" at the
> command line?  I looked in the man pages at diff, but it didn't
> mention a flag called "-uNr".  Different version of diff on your Mac?
>  Hmm...
> 
> Any help would be appreciated.
> 
> -William Moates
> 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/S.QlOD/3MnJAA/Zx0JAA/GE2qlB/TM
--------------------------------------------------------------------~-> 

 


<Prev in Thread] Current Thread [Next in Thread>