Boost logo

Boost Users :

Subject: Re: [Boost-users] build Boost on OSX with other sysroot
From: Philipp Kraus (philipp.kraus_at_[hidden])
Date: 2012-08-03 14:02:39


On 2012-08-03 13:28:52 +0200, Jeff Flinn said:

> On 8/3/2012 6:33 AM, Kraus Philipp wrote:
>> but I need another sysroot version.
>> Because I need a build with i386 and linking again
>> the/Developer/SDKs/MacOSX10.5.sdk/
>>
>> Default build again the 10.6 SDK works very well. I have added to the
>> bjam command the flag
>> architecture=x86 and toolset=darwin (--with flags, link, etc), but how
>> can I link the Boost libs
>> to the 10.5 SDK?
>
> This is what I use:
>
> ./bjam --toolset=darwin --toolset-root=/usr/bin/gcc-4.2
> --layout=versioned architecture=x86 address-model=32 macosx-version=10.5
> macosx-version-min=10.5 link=static runtime-link=static debug release stage

Thanks, I don't know the macosx-version options, but I remove the
address-model flag
because this build only static libraries

Phil


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net