http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53883
--- Comment #4 from Daryle Walker <dwalker07 at yahoo dot com> 2012-07-10 01:32:12 UTC --- (In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #0) > > > (Should I try building GCC 4.7.1 straight from you guys, without going > > > through > > > MacPorts?) > > > > Yes, probably. > > I'm working on that now.... ...And here's what I tried: //--- svn co svn://gcc.gnu.org/svn/gcc/tags/gcc_4_7_1_release gcc cd gcc nano README nano contrib/gcc_update ./contrib/gcc_update --touch cd .. mkdir gcc-obj cd gcc-obj ../gcc/configure --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local make //--- (I'm using GMP, MPFR, and MPC from MacPorts. Note that it used the system compiler, Apple's GCC 4.0.1, and not anything from MacPorts for the first compiler phase.) It didn't build all the way through; here's the last few lines: //--- checking for gawk... awk checking whether make sets $(MAKE)... yes checking for --enable-version-specific-runtime-libs... no checking for style of include used by make... GNU checking for powerpc-apple-darwin8.11.0-gcc... /Users/daryle/Documents/Projects/GCC/gcc-obj/./gcc/xgcc -B/Users/daryle/Documents/Projects/GCC/gcc-obj/./gcc/ -B/usr/local/powerpc-apple-darwin8.11.0/bin/ -B/usr/local/powerpc-apple-darwin8.11.0/lib/ -isystem /usr/local/powerpc-apple-darwin8.11.0/include -isystem /usr/local/powerpc-apple-darwin8.11.0/sys-include -m64 checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: in `/Users/daryle/Documents/Projects/GCC/gcc-obj/powerpc-apple-darwin8.11.0/ppc64/libquadmath': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[1]: *** [configure-target-libquadmath] Error 1 make: *** [all] Error 2 [daryle:gcc-obj]$ l //--- It seems that it tried to build "libquadmath" thinking all PowerPC systems are 64-bit, while mine is 32-bit. I didn't reach the error I reported with MacPorts' build yet. Is there any way to force libquadmath to compile in 32-bit mode? (If that's impossible, is it skippable?) I'll try to attach the "config.log" file. I'll retry make when you guys let me know how to fix up libquadmath.