build Boost on OSX with other sysroot

Hello, I try to build the Boost 1.50 under OSX (10.6), 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? Thanks Phil

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 Jeff

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
participants (3)
-
Jeff Flinn
-
Kraus Philipp
-
Philipp Kraus