|
Boost-Build : |
Subject: Re: [Boost-build] Macports gcc 4.6 and darwin toolset.
From: Daniel James (dnljms_at_[hidden])
Date: 2011-12-11 06:09:14
I've attached my attempt at getting darwin.jam to support macport's
gcc. I'm still really not sure of what I'm doing though. My original
idea was to assume that Apple's extensions were only supported if I
could find the word 'Apple' in the output of 'gcc --version', but I
changed it to check for macports, and assume it's apple otherwise,
which feels like a safer change. Other checks could be added as
needed. I also tried using gcc's 'setup-address-model' for macports
but that didn't seem to work as I think it's different to the one in
the darwin toolset so instead I just tried to use the equivalent gcc
commands.
This seems to work okay but could probably do with more testing. The
main test would be to build a cross compiler, but I don't think
macports supports that and I'm not keen on building gcc manually.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk