Hi, I'm trying to install gcc to get gcj on a mac. I found that I have to put in an excessive amount of flags to even get a start on compiling gcc. For example: export CC='gcc -arch x86_64';export GXX='g++ -arch x86_64';CFLAGS='-arch x86_64';export CXXFLAGS='-arch x86_64';export CPPFLAGS='-arch x86_64' ./configure GXX='g++ -arch x86_64' CC='gcc -arch x86_64' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' CPPFLAGS='-arch x86_64' Then I get the error of "checking for i386-apple-darwin9.5.0-gcc... /Users/smcguffee/WHITEHOUSE_LAB/PROGRAMS/GCC/SVN/GCJ/host-i386-apple-darwin9.5.0/gcc/xgcc -B/Users/smcguffee/WHITEHOUSE_LAB/PROGRAMS/GCC/SVN/GCJ/host-i386-apple-darwin9.5.0/gcc/ -B/usr/local/i386-apple-darwin9.5.0/bin/ -B/usr/local/i386-apple-darwin9.5.0/lib/ -isystem /usr/local/i386-apple-darwin9.5.0/include -isystem /usr/local/i386-apple-darwin9.5.0/sys-include checking for suffix of object files... configure: error: in `/Users/smcguffee/WHITEHOUSE_LAB/PROGRAMS/GCC/SVN/GCJ/i386-apple-darwin9.5.0/libgcc': 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: *** [all] Error 2" as described above.
If I understand it correctly, you are saying that there is something called bin-utils that I need to get in addition to the gnu downloads? Can you please give me more information about this? I couldn't find anything called bin-utils and I don't know where to look. Thanks, Sean Bugzilla from gcc-bugzi...@gcc.gnu.org wrote: > > > > ------- Comment #1 from brian at dessent dot net 2008-11-27 11:29 ------- > Subject: Re: New: configure: error: cannot compute suffix of > object files - cannot find as > > The assembler is not part of gcc. You need to build and install > binutils for your target (which will result in the cross-assembler and > cross-linker) before attempting to build the compiler. > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38286 > > > -- View this message in context: http://www.nabble.com/-Bug-c-38286---New%3A-configure%3A-error%3A-cannot-compute-suffix-of-object-files---cannot-find-as-tp20717408p23595885.html Sent from the gcc - bugs mailing list archive at Nabble.com.