This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems compiling the GCC 4.3.5


I checked that I exported the path to the libs:

echo $LD_LIBRARY_PATH
/Users/toom/gcc4.3.5/requiredLibs/gmp-5.0.1/lib/:/Users/toom/gcc4.3.5/requiredLibs/mpfr-3.0.0/lib/

and I still get the same error. I've an intel mac with snow leopard running on it. I cannot say that much about the earliness of the build fail since I don't know how long the compile process takes. I'd say its about 1 minute after executing make.



kevin diggs schrieb:
I still get the same error message
checking whether ln -s works... yes
checking for i386-apple-darwin10.6.0-gcc...
/Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5/./gcc/xgcc
-B/Users/toom/Downloads/gcc-4.3.5/obj-gcc-4.3.5/./gcc/
-B/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/bin/
-B/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/lib/ -isystem
/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/include -isystem
/Users/toom/gcc4.3.5//i386-apple-darwin10.6.0/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2

Is this fail pretty early? Lets see what is in config.log. That should
contain clues as to why it "cannot compile". It looks like it can't
find all the pieces it needs to run test programs. Some of these
configure tests actually create and compile test programs to check for
things. The "cannot compile" message seems to indicate that there is a
problem even getting things to build. I think I have seen this when I
have had typos in compile flags. Like passing something like
"-march=pentium3" in CFLAGS environment variable to a powerpc
compiler. The compiler will choke on this because it is not valid
command line option for powerpc.

Maybe we backtrack a little. Is this a powerpc or intel mac?

kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]