Large Files (fwd)

Herbert Fruchtl fruechtl at fecit.co.uk
Thu Aug 30 02:49:49 PDT 2001


Herbert Fruchtl wrote:

> > The problem resided both in the kernel and standard libraries, so either
> > updating glibc *or* updating the kernel won't solve the problem.
> >
> > However, newer distributions such as RedHat 7.1 have both glibc and kernel
> > updated so that this is no longer a problem.
> 
> If you use gcc, you need the flags
>   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> 
> Doesn't work for g77 (as of gcc 2.96). Does anybody know if this is solved
> in gcc 3.0, and if 3.0 is already stable and efficient enough to be used
> for serious applications?

It is solved in the (upcoming) 3.1 version.  Unfortunately, the
implementation as of now breaks on too many non-Linux OS's (including,
but not necessarily limited to: *BSD, Solaris, HP-UX) to port it (back)
to the 3.0 branch.

Of course, if you take a snapshot off the CVS trunk of GCC (i.e., that
what will become 3.1 in time) you're on your own (voids your warranty
and all that).  That said, it might be useful to try to see if it really
works for you.

[ I thought I had answered this yesterday, but didn't see my own post.
  Please forward to the beowulf list if it doesn't appear there - thanks
]

-- 
Toon Moene - mailto:toon at moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)




More information about the Beowulf mailing list