file size limit

Cristian G. Rojas cgrojas@ncsu.edu
Mon Jan 30 21:27:00 GMT 2006


I am trying to open a file greater than 2GB without success in my cpp program.  I am
using open() and it does not work.

Any suggestions on how to open a file for reading that is greater than 2GB?

gcc verison:
gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.fc4)

Output for "uname -s -r -v -o":
Linux 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 GNU/Linux

Thanks,

Cristian




More information about the Gcc-help mailing list