[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling with large file support



On Mon, Jan 27, 2003 at 10:23:12PM +0100, Florian Sukup wrote:
> Hi,
> 
> I managed to compile some small C-programs with large file support using 
> gcc flags: -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE.
> 
> How can I make this default? Maybe with environment variables?

Yes. export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
- stick it in your .bash_profile

Pigeon



Reply to: