Successful build/install of gcc-4.1.2 on Solaris10
The previous version of GCC used for the build was 3.4.6
I just built the compiler until I worked around the toolchain
problems: downrev gawk and missing gmp (watch 32 vs 64 bit) and mpfr.
Then a reconfig for everything built and installed in /usr/local.

#!/bin/ksh
#Use ksh to work around broken shell problems on Solaris
CONFIG_SHELL=/bin/ksh
export CONFIG_SHELL
/bin/ksh /hd1/src/gnu-src/gcc-4.1.2/configure
make SHELL=/bin/ksh bootstrap

% gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with: /hd1/src/gnu-src/gcc-4.1.2/configure --enable-languages=c :

(reconfigured) /hd1/src/gnu-src/gcc-4.1.2/configure
Thread model: posix
gcc version 4.1.2

% uname -a
SunOS dna7 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-880



Reply via email to