This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

large file support enabled


Hi,

We're trying to recompile the wuftpd software with 
large file support enabled.

We're compiling under Solaris 8 using gcc.

We tried to set CFLAGS with options "-D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE"
before running the configure then build for solaris, test the new binary
but still didn't cross the 2.0 GByte boundary.

	export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
	export CC=/usr/local/bin/gcc

	configure
	build sol

Is there anyone that can tell us what we're missing here.
Are we using the right C compiler (CFLAGS) settings?

Thank you in advance for any help.


Cathy LaFleur
Unix System Administrator
833 West South Boulder Road
Louisville, CO 80027
(303) 665-1537
cathy.lafleur@eds.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]