|
Boost-Build : |
Subject: [Boost-build] Failed to get libboost_math.a for iPhone
From: Justace Clutter (justacec_at_[hidden])
Date: 2012-08-14 10:14:39
I have been trying to get the Boost libraries compiled on my mac for iPhone
development. I specifically want the math libraries. I have found the
needed boost.sh build script that has been provided by other tinkerers and
that has worked pretty good. It is just a wrapper around the regular boost
build system. When I tell that script that I want the math library, it
runs the build script and then looks for the library "libboost_math".
Unfortunately, after the build is completed (only requesting the math
library), there are four math libraries present:
libboost_math_c99.a
libboost_math_c99f.a
libboost_math_tr1.a
libboost_math_tr1f.a
The iPhone build script then fails because there is no "libboost_math.a"
library. After the build should these be the final libraries? Did my
build fail to complete and I just did not know it?
I am running this on OSX Snow Leopard with the latest XCode (4.4.1 I
think). The build instructions that I have tried to follow are at:
http://www.danielsefton.com/2012/03/building-boost-1-49-with-clang-ios-5-1-and-xcode-4-3/
I did determine that I had to modify the boost.sh script to put "pch=off"
on the build lines to get the math library to compile...
I would paste the output of the script but I am currently at work and do
not have my personal computer in front of me. This is more of a general
build concept question.
Thank you for any assistance.
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