gcc 4.0?

Jens Olav Nygaard jens_olav.nygaard at chello.no
Sat Apr 16 03:41:26 PDT 2005

Matthew Burgess wrote:
> Matthew Burgess wrote:
>> tom wrote:
>>> is it safe to use? or dont compile it?
>> It won't even compile glibc yet
> C in the glibc sources that causes compilation to fail.  In fact, the 
> current situation is:
> a) gcc-4.0 won't compile on a glibc-2.3.4 based host (due to it pulling 
> in invalid code from glibc's headers - it's fixed in glibc-cvs though)
> b) glibc-2.3.4 won't compile on a gcc-4.0 based host.
> Nice, eh? :)

In spite of the trouble indicated above, I would like to experiment with
gcc 4.0, not necessarily only for building LFS though. I managed to
configure and compile gcc-4.0.0-20050410, with

   ../gcc-4.0.0-20050410/configure --enable-clocale=gnu --enable-shared \
   --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++,java \


   make bootstrap MAKE="make -j 2" -j 2

but before comitting with a "make install", I am concerned about the
integrity of my system. Do I run a risk of destroying/polluting my
/usr/include or something else, or will *everything* be placed under
the prefixed-specified directory? Is there any standard way of doing
such things, some sort of "sandbox" technique that I may not be aware
of? Any advice greatly appreciated...


More information about the lfs-support mailing list