How to build boost for iPhone?
Hi, I tried to build boost for iPhone on Mac OS X. If I try the following ... bjam --prefix=/somePath toolset=darwin target-os=iphone macosx- version=iphone-2.0 define=_LITTLE_ENDIAN link=static install ... the libraries will build fine, but they are i386 code, not arm, so there're unusable. But if I add architecture=arm ... bjam --prefix=/somePath toolset=darwin architecture=arm target- os=iphone macosx-version=iphone-2.0 define=_LITTLE_ENDIAN link=static install ... the whole thing just does not build. It fails very early with the following error: g++-4.0: installation problem, cannot exec '/usr/bin/arm-apple-darwin9- g++-4.0.1': No such file or directory Any ideas/hints how to build the boost libraries for the iPhone? (By the way, /usr/bin/arm-apple-darwin9-g++-4.0.1 is existing on my Mac.) Thanks in advance, Mani -- http://mani.de - friendly software iVolume - listen to music freehand Sahara - sand in your pocket Watchdog - baffle the curious LittleSecrets - the encrypted notepad
http://www.nabble.com/iphone-port-td20407642.html
you need to add your own config file.
On Fri, Apr 17, 2009 at 12:54 PM, Manfred Schwind
Hi,
I tried to build boost for iPhone on Mac OS X. If I try the following ...
bjam --prefix=/somePath toolset=darwin target-os=iphone macosx-version=iphone-2.0 define=_LITTLE_ENDIAN link=static install
... the libraries will build fine, but they are i386 code, not arm, so there're unusable. But if I add architecture=arm ...
bjam --prefix=/somePath toolset=darwin architecture=arm target-os=iphone macosx-version=iphone-2.0 define=_LITTLE_ENDIAN link=static install
... the whole thing just does not build. It fails very early with the following error:
g++-4.0: installation problem, cannot exec '/usr/bin/arm-apple-darwin9-g++-4.0.1': No such file or directory
Any ideas/hints how to build the boost libraries for the iPhone? (By the way, /usr/bin/arm-apple-darwin9-g++-4.0.1 is existing on my Mac.)
Thanks in advance, Mani -- http://mani.de - friendly software iVolume - listen to music freehand Sahara - sand in your pocket Watchdog - baffle the curious LittleSecrets - the encrypted notepad
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
gtsml owevwr
-
Manfred Schwind