Boost logo

Boost-Build :

Subject: Re: [Boost-build] Patch for building Boost 1.40 on Mac OS X Snow Leopard
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-10-22 09:11:36


On Oct 22, 2009, at 5:13 AM, Vladimir Prus wrote:

> On Friday 02 October 2009 Stuart A. Malone wrote:
>
>> Today I took the time to patch my local copy of Boost 1.40 to allow
>> building under Snow Leopard. You can see discussions about this
>> problem in places like:
>>
>> <http://continuous.wordpress.com/2009/09/06/building-boost-on-mac-os-x-10-6-with-xcode-3-2/
>>>
>>
>> <http://archives.free.net.ph/message/
>> 20090903.114048.e961e539.en.html>
>>
>> My patches address two problems:
>>
>> - The -m64 option is incompatible with the generation of 32-bit
>> binaries
>
> Stuart,
>
> I have applied the -m64 part of the patch. Thanks!
>
> I am still trying to figure the right magic to disable -ppc64 when
> using 10.6 SDK. Am I right that ppc64 is not supported with 10.6
> regardless of whether you are building a fat library, or not? In other
> words, does explicit
>
> address-model=64 architecture=power
>
> have any chance of working?
>
> - Volodya

If you are using the 10.5 SDK then that would work is my
understanding. So BJam is going to have to figure out if the user is
specifying an SDK or not and if they are not specifically using an SDK
then intelligently pick one by either guessing based on the current
version of the operating system being used (Probably the best) or
looking in /Developer/SDKs/* and parse out what SDKs are available in
that location.

   And don't forget that on OS X 10.5 the "/Developer" can actually be
anywhere. There is a command line tool that can be used to get the
installation location. On OS X 10.4 and below it was hard coded to /
Developer.

Hope some of that helps.

_________________________________________________________
Mike Jackson mike.jackson_at_[hidden]
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio


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