Boost logo

Boost Users :

Subject: [Boost-users] How to build boost for iPhone?
From: Manfred Schwind (lists_at_[hidden])
Date: 2009-04-17 07:54:15


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 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