Le Thu, 5 May 2005 21:23:05 +0600 "Alexander E. Patrakov" <[EMAIL PROTECTED]> a �crit :
> Matthias B. wrote: > > > On Wed, 4 May 2005 22:26:41 +0100 (BST) Ken Moffat > > <[EMAIL PROTECTED]> wrote: > > > >> Worst case, I guess you might have to build a 3.3 gcc (3.3.4 or 3.3.5) > >> and use that to build 2.95.3. > > > > It's worse than that. The C++ components of gcc 2.95 don't compile with > > recent glibcs. > > That's just FUD. > > http://www.diy-linux.org/pipermail/diy-linux-dev/2005-January/000285.html I followed your link. I still get the same error message. I follow the the LFS-BOOK-SVN-20050412 for glibc compilation : ../glibc-2.3.4/configure --prefix=/tools --disable-profile --enable-add-ons=linuxthreads --without-__thread --enable-kernel=2.6.0 --with-binutils=/tools/bin --without-gd --with-headers=/tools/include --without-selinux make -k install_root=/tmp/foo install-headers Then I follow LFS-BOOK-5.0 for gcc-2.95.3 compilation. I patch gcc : patch -Np1 -i ../BLFS/gcc-2.95.3-2.patch && patch -Np1 -i ../BLFS/gcc-2.95.3-no-fixinc.patch && patch -Np1 -i ../BLFS/gcc-2.95.3-returntype-fix.patch make the two sed commands : sed -i.bak '/MTSAFE/s,$, -I/tmp/foo/usr/include,' \ libio/config/mtsafe.mt \ libstdc++/config/linux.m sed -i.bak '/hypot.*const/d' libstdc++/std/complext.h then configure and make : mkdir ../gcc-build && cd ../gcc-build ../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \ --enable-shared --enable-languages=c,c++ \ --enable-threads=posix make bootstrap and I get : /usr/bin/ld: crt0.o: No such file: Aucun fichier ou r�pertoire de ce type collect2: ld returned 1 exit status make[2]: *** [gencheck] Erreur 1 make[2]: Leaving directory `/sources/gcc-build/gcc' make[1]: *** [bootstrap] Erreur 2 make[1]: Leaving directory `/sources/gcc-build/gcc' make: *** [bootstrap] Erreur 2 But as I recognized this message : make[1]: Entering directory `/sources/gcc-build/i686-pc-linux-gnuoldld/libio' I remembered a message I read a few days ago : http://linuxfromscratch.org/pipermail/blfs-support/2003-November/046128.html The gcc config.guess script seems to go wrong, so I add --host=i686-pc-linux-gnu to the configure phase, and it want OK. I'm sure this is sufficently important and usefull (a lot of semi-commercial programs still rely on those old libstdc++) for a hint, isn't it ? I'll try to write one if all gets fine :-) \bye -- Nicolas FRANCOIS http://nicolas.francois.free.fr We are the Micro$oft. Resistance is futile. You will be assimilated. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
