gcc46 and Boost

Freddie Witherden freddie at witherden.org
Thu Nov 24 15:34:23 PST 2011

On 24/11/11 16:53, Ryan Schmidt wrote:
> Hmm yes I see. -arch flags are not compatible with the FSF GCC compilers in MacPorts. You could probably
> sudo port extract boost
> then
> cd $(port work boost)
> then edit tools/build/v2/tools/darwin.jam to remove those flags, then
> cd
> sudo port -ns upgrade --force boost configure.compiler=macports-gcc-4.6

That worked.  And, more importantly, Boost now works when used with GCC
4.6 compiled applications.  (Of course, it now breaks when GCC 4.2 is
used to compile applications---but this is not an issue for me.)

Regards, Freddie.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111124/46b9961b/attachment.bin>

More information about the macports-users mailing list