Since i had troubles with solaris 10, I tried building gcc 3.4.0 on solaris 9. I have been able to successfuly build gcc 3.3.3 on this same machine and using it to build gcc 3.4.0.
If I try my old way, it will build but then the install fails (just like my prior email...install-sh not found)
If I build the recommended way (so that objdir is not any part of srcdir) the build fails.
I untarred gcc into /var/gcc-3.4.0 then I created /var/obj and from /var/obj I ran configure as such:
../gcc*/configure --with-as=/usr/local/bin/as \ --with-ld=/usr/local/bin/ld --disable-nls --enable-threads \ --enable-shared --enable-multilib --with-cpu=pentium4 \ --enable-languages=c,c++,f77 \
then I did 'make bootstrap' the build goes on for some time then .. ... checking for ar... ar checking for ranlib... ranlib checking for a BSD compatible install... ../gcc-3.4.0/install-sh -c checking for interface version number... checking for --enable-version-specific-runtime-libs... no grep: can't open ${top_srcdir}/../gcc/version.c checking for ld used by GCC... /usr/local/bin/ld checking if the linker (/usr/local/bin/ld) is GNU ld... yes checking for /usr/local/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/local/i386-pc-solaris2.9/bin/nm checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for ranlib... (cached) ranlib checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig configure: error: libtool configure failed make[1]: *** [configure-target-libf2c] Error 1 make[1]: Leaving directory `/var/obj' make: *** [bootstrap] Error 2
But if srcdir = /var/gcc and objdir = /var/gcc/obj
it will build 100% but fail install.
Help?
-- J.D. Bronson Aurora Health Care // Information Services // Milwaukee, WI USA Office: 414.978.8282 // Email: jd@xxxxxxxxxx // Pager: 414.314.8282