The compiling problems about Gcc-3.0.x
Ming-Shae Wu
shair@dragon.ee.nctu.edu.tw
Sun Sep 9 20:33:00 GMT 2001
There are some problems when I comples gcc-3.0 or . gcc-3.0.1.
First :
When I use "make bootstrap" after "configure", the procedure stops at
gcc-3.0.1/sparc-sun-solaris2.6/libstdc++-v3/../gcc/gthr.h . I find
that
the directory "gcc-3.0.1/sparc-sun-solaris2.6/libstdc++-v3/../gcc"
does
not exist. I link it to gcc-3.0.1/gcc, and it works. Did I do it
right?
Second:
If I installed "bintool" before. The compiling procedure will try to
use
"/usr/local/sparc-sun-solaris2.6/bin/ld" when the second stage
compiles.
It seems that "gnu ld" can not recognize the format of libgcc.map
which
is made by gawk during compiling procedure. If I remove
"/usr/local/sparc-sun-solaris2.6", it uses /usr/ccs/bin/ld, but fails
to use
/usr/ccs/bin/as. Finally, I use /usr/ccs/bin/ld and
/usr/local/sparc-sun-solaris2.6/bin/as to complete the compilation.
My computer is SunSparc Ultra60 450MHz x2 2G RAM.
The first problem is exist when I compile gcc-3.0.1 under linux, too.
Could you modify the configuration to fix the problems I mention above?
Thanks.
More information about the Gcc
mailing list