On Sat, Oct 4, 2008 at 1:11 AM, Rush Manbert
On Oct 3, 2008, at 6:30 AM, kittymaguire wrote:
When I put -static into the linker options, I get a lot of linker errors. So I don't think a static version is possible on the MAC.
How can I built each library that I need into a framework for the MAC?
Vladimir Prus-3 wrote:
kittymaguire wrote:
Hi
I have tried to build the boost libraries on the MacOS as a static library by giving bjam the --buid_type=static but it still built the dynamic version of the libraries.
Here is a bjam command line that builds the 32 bit libraries, debug and release versions, both static and dynamic, targeted to Os X 10.4, with 10.4 as the minimum supported rev. It also installs them. You will need to adjust the path stuff to use it.
bjam debug release toolset=darwin address-model=32 architecture=combined threading=multi link=shared,static macosx-version=10.4 macosx-version-min=10.4 --layout=system --prefix=/tmp/boostbuild_20081003_104356/32 --exec-prefix=/tmp/boostbuild_20081003_104356/32 --builddir=./../buildProductsMac/boost install
Here's the equivalent for 64 bit libaries.
bjam debug release toolset=darwin address-model=64 architecture=combined threading=multi link=shared,static macosx-version=10.4 macosx-version-min=10.4 --layout=system --prefix=/tmp/boostbuild_20081003_104356/64 --exec-prefix=/tmp/boostbuild_20081003_104356/64 --builddir=./../buildProductsMac/boost install
Why the need to specify OsX version? (I am new to OsX development)