gcc46 and Boost
freddie at witherden.org
Thu Nov 24 07:10:13 PST 2011
On 23/11/2011 21:24, Ryan Schmidt wrote:
>> b) get macports to recompile boost with gcc46.
> It is not supported to do so, but if you would like to try it, to see if it solves the problem, you would:
> sudo port -ns upgrade --force boost configure.compiler=macports-gcc-4.6
Thanks for the idea. It appears as if the configure script (or bjam)
adds some Mac specific flags to the compiler command resulting in:
:info:build g++-mp-4.6: error: x86_64: No such file or directory
:info:build g++-mp-4.6: error: unrecognized option '-no-cpp-precomp'
:info:build g++-mp-4.6: error: unrecognized option '-arch'
The -no-cpp-precomp flag should probably be removed -- it has been
silently ignored since Apple GCC 3.3  and so is not needed. As for
-arch I am not sure.
Anyway, it was worth a try.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
More information about the macports-users