Compilation fails on Snow Leopard, GCC 4.6.0, with --enable-fully-dynamic-string set during configure
doug livesey
biot023@gmail.com
Tue Apr 19 12:09:00 GMT 2011
Hi -- I installed GCC 4.6.0, and it seemed to be okay, but then I got
the kinds of error that this post suggested:
http://newartisans.com/2009/10/a-c-gotcha-on-snow-leopard/
So I've tried to recompile with the --enable-fully-dynamic-string set,
but that just gives me the following error:
<... lots of other output ...>
checking command to parse
/Users/douglivesey/src/gcc-4.6.0/objdir.1/./gcc/nm output from
/Users/douglivesey/src/gcc-4.6.0/objdir.1/./gcc/xgcc
-B/Users/douglivesey/src/gcc-4.6.0/objdir.1/./gcc/
-B/usr/local/x86_64-apple-darwin10.7.0/bin/
-B/usr/local/x86_64-apple-darwin10.7.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.7.0/include -isystem
/usr/local/x86_64-apple-darwin10.7.0/sys-include object... failed
checking for x86_64-apple-darwin10.7.0-dsymutil... no
checking for dsymutil... dsymutil
configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-apple-darwin10.7.0-nmedit... no
checking for nmedit... nmedit
checking for x86_64-apple-darwin10.7.0-lipo... lipo
checking for x86_64-apple-darwin10.7.0-otool... no
checking for otool... otool
checking for x86_64-apple-darwin10.7.0-otool64... no
checking for otool64... no
checking for -single_module linker flag... no
checking for -exported_symbols_list linker flag... configure: error:
Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libssp] Error 1
make: *** [all] Error 2
Can anyone advise me on what steps I might take next to fix this?
Thankyou very much for any & all help.
Doug.
More information about the Gcc-help
mailing list