Large Files in C++

Alexandre Oliva aoliva@redhat.com
Tue May 15 21:56:00 GMT 2001


On May 14, 2001, Gaurav Gupta <gauravg@delsoft.com> wrote:

> I am using GNU compilers for my applications. I have come across a
> problem. The files that are created and read are large files (>2GB). So
> I am not able to handle them using streams. Is there any option in GNU
> compilers for large files handling using streams in C++.

You'd have to rebuild the C++ libraries using whatever compiler and
linker options necessary to enable LFS on the platform you're using.
I believe this is going to be done by default in GCC 3.0.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list