Luke,
I don't know what causes your problem, but I'll tell you what I did to
build gcc-4.2.0 under Solaris 8. Normally, I build gcc in
/usr/share/src. This time, I needed to build it in /home instead
because it contained more free space than /usr did.
...
Hope this helps.
Bill
Bill,
Thanks for the advice. I think that the problem is actually related
to the Makefile that autoconf is generating for me under Solaris 10
for the SPARC (sparc-sun-solaris2.10).
In the 'compare:' target there's a line that says
cd stage3-gcc; \
which I think is a bug. 'stage3-gcc' is built into the BUILD_SUBDIR
directory. I manually changed this line to
cd $(BUILD_SUBDIR); \
and the build seems to complete successfully. I'll try and run the
test suite on the resulting build and see how it looks.
Thanks,
Luke
I'm trying to build on:
Sun-Fire-880
I've configured with:
--prefix=... --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/
usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-
shared --enable-tls --enable-threads=posix
The build command that I am running is:
make BOOT_CFLAGS='-g -O3' -j 8
The problem that I am having is (I've manually changed the path to a
relative path from where I ran 'make'):
make[2]: Entering directory `../gcc-4.2.0'
make[3]: Entering directory `../gcc-4.2.0'
rm -f stage_current
make[3]: Leaving directory `../gcc-4.2.0'
Comparing stages 2 and 3
/bin/sh: stage3-gcc: does not exist
make[2]: *** [compare] Error 1
make[2]: Leaving directory `../gcc-4.2.0'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory `../gcc-4.2.0'
make: *** [all] Error 2
stage3-gcc exists in the subdirectory:
host-sparc-sun-solaris2.10
Can anyone tell me what I am missing here?
Thanks in advance,
Luke
________________________________________________________________
Please visit a saintly hero:
http://www.jakemoore.org
And a boy with a wonderful wish:
http://shaneswish.com/