I discovered that gcc-2.95.3 isn't in BLFS book anymore. I have one
problem with this : several (commercial) programs are compiled against the
old libstdc++-libc6.2-2.so.3 (for example Racer, or MuPAD). I tried to
compile gcc-2.95.3 with gcc-3.4, with the patches from an old BLFS book,
but as you can guess, it didn't work :


make[1]: Entering directory
`/sources/gcc-build/i686-pc-linux-gnuoldld/libio' if [ x"yes" = xyes ] &&
[ ! -d pic ]; then \  mkdir pic; \
else true; fi
touch stamp-picdir
rootme=`pwd`/ ; export rootme; \
CC="/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/opt/gcc-2.95.3/i686-pc-linux-gnuoldld/bin/ -I.
-I../../../gcc-2.95.3/libio"; export CC; \
CXX="/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/opt/gcc-2.95.3/i686-pc-linux-gnuoldld/bin/ -I.
-I../../../gcc-2.95.3/libio -nostdinc++ -nostdinc++ -g -O2"; export CXX; \
CONFIG_NM="nm"; export CONFIG_NM; \ /bin/sh
../../../gcc-2.95.3/libio/gen-params LIB_VERSION=2.8.0  >tmp-params.h mv
tmp-params.h _G_config.h test x"yes" != xyes ||\
  /sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/
-B/opt/gcc-2.95.3/i686-pc-linux-gnuoldld/bin/ -c -g -O2 -I.
-I../../../gcc-2.95.3/libio  -fpic ../../../gcc-2.95.3/libio/filedoalloc.c
-o pic/filedoalloc.o In file included from
../../../gcc-2.95.3/libio/libio.h:30,                 from
../../../gcc-2.95.3/libio/iolibio.h:1,                 from
../../../gcc-2.95.3/libio/libioP.h:47,                 from
../../../gcc-2.95.3/libio/filedoalloc.c:45: _G_config.h:32: parse error
before `_G_fpos_t' _G_config.h:32: warning: data definition has no type or
storage class _G_config.h:43: parse error before `_G_sigset_t'
_G_config.h:43: warning: data definition has no type or storage class
In file included from ../../../gcc-2.95.3/libio/libioP.h:47,
                 from ../../../gcc-2.95.3/libio/filedoalloc.c:45:
../../../gcc-2.95.3/libio/iolibio.h:13: parse error before `_G_fpos_t'
../../../gcc-2.95.3/libio/iolibio.h:18: parse error before `*'
make[1]: *** [filedoalloc.o] Erreur 1
make[1]: Leaving directory
`/sources/gcc-build/i686-pc-linux-gnuoldld/libio' make: ***
[all-target-libio] Erreur 2

What can I do about this ?

\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

Reply via email to