[TriLUG] compiling binaries w/ large file support

Dave Sorenson dave at logicalgeek.com
Sat Jul 24 23:14:26 EDT 2004


friends don't let friends use dial-up when drinking.. hand over your 
RJ-11 cable.

Timothy A. Chagnon wrote:

>On Sat, 2004-07-24 at 11:03, Douglas Kojetin wrote:
>  
>
>>According to a few websites, they 
>>suggest adding this to CPFLAGS in the Makefile:
>>
>>-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
>>    
>>
>
>I vaguely remember doing this type of stuff about 6 mos. ago to get
>Network block device support over 2G with 32bit processors.  I had to
>play with these defines a bit.  Unfortunately I don't have the systems
>in front of me now.  I know one of these is going to make the program
>think you have a 64 bit processor.  You might try -D_LARGEFILE_SOURCE
>with and without the other one.
>
>Hope this was some help, sorry if it wasn't.  It's vacation.  I'm on
>Cape Cod.  I'm drunk.   I'm using dial-up.
>
>-Tim
>
>--
>Timothy A. Chagnon
><tchagnon at futeki.net
>



More information about the TriLUG mailing list