i've downloaded gcc-4.2.4 from gnu.org and configured it as follows:
// unpacking gcc in $SRCDIR
$ tar -C $HOME/src/ -xvjf gcc-4.2.4.tar.bz2
// creating build directory $BLDDIR
$ mkdir $HOME/src/gcc.build
// entering build dir
$ cd $BLDDIR
//configure gcc
$ $SRCDIR/configure --prefix=/usr --enable-shared --disable-nls
//building
$ make bootstrap
//checking
$ make check
//installing
# make install
<--- snippet begin
----------------------------------------------------------------------------------------->
echo 'SYSTEM_HEADER_DIR="'"`echo /usr/include | sed -e :a -e
's,[^/]*/\.\.\/,,' -e ta`"'"' \
> /usr/lib/gcc/i686-pc-linux-gnu/4.2.4/install-tools/mkheaders.conf
echo 'OTHER_FIXINCLUDES_DIRS=""' \
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/install-tools/mkheaders.conf
echo 'FIXPROTO_DEFINES=""' \
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/install-tools/mkheaders.conf
echo 'STMP_FIXPROTO=""' \
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/install-tools/mkheaders.conf
echo 'STMP_FIXINC="stmp-fixinc"' \
/usr/lib/gcc/i686-pc-linux-gnu/4.2.4/install-tools/mkheaders.conf
make[2]: *** No rule to make target
`/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackw
are-linux/bin/ld', needed by `stamp-collect-ld'. Stop.
make[2]: Leaving directory `/home/as/src/gcc.build/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `/home/as/src/gcc.build'
make: *** [install] Error 2
<--- snippet end
------------------------------------------------------------------------------------------>
configuring, installing and even checking went w/o problems or complains.
installation, however, failed due to reasons i do not understand. any
hints or directions? help is appreciated
thx, as