Re: 2 GB file limitation

Jeff Chua (jchua@fedex.com)
Sat, 29 Sep 2001 21:17:11 +0800 (SGT)


On Sat, 29 Sep 2001, Nicholas Knight wrote:

> On Friday 28 September 2001 05:18 pm, Jeff Chua wrote:
> > On Fri, 28 Sep 2001, David Lang wrote:
> > > ?? slackware 8 has large file support (I've been useing it for a
> > > while now)
> >
> > I think you can get >2GB support if you've Gcc 3.0. Even with the
> > latest kernel 2.4.x, you won't get >2GB with gcc 2.95.3.
>
> Could have fooled me with my 2.95.3 and 2.95.4 systems and their 3GB+
> files.
> -

uh, I mistaken glib2.2 for gcc. sorry (see below from Chris).

Jeff.

On Fri, 28 Sep 2001, Christopher Zimmerman wrote:
> Actually you just need glibc2.2 and compile your apps with these
flags:
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DLARGE_FILES

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/