<div><a href="http://www.nabble.com/iphone-port-td20407642.html">http://www.nabble.com/iphone-port-td20407642.html</a><br></div><div>you need to add your own config file.</div><div><br><div class="gmail_quote">On Fri, Apr 17, 2009 at 12:54 PM, Manfred Schwind <span dir="ltr">&lt;<a href="mailto:lists@mani.de">lists@mani.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I tried to build boost for iPhone on Mac OS X. If I try the following ...<br>
<br>
bjam --prefix=/somePath toolset=darwin target-os=iphone macosx-version=iphone-2.0 define=_LITTLE_ENDIAN link=static install<br>
<br>
... the libraries will build fine, but they are i386 code, not arm, so there&#39;re unusable.<br>
But if I add architecture=arm ...<br>
<br>
bjam --prefix=/somePath toolset=darwin architecture=arm target-os=iphone macosx-version=iphone-2.0 define=_LITTLE_ENDIAN link=static install<br>
<br>
... the whole thing just does not build. It fails very early with the following error:<br>
<br>
g++-4.0: installation problem, cannot exec &#39;/usr/bin/arm-apple-darwin9-g++-4.0.1&#39;: No such file or directory<br>
<br>
Any ideas/hints how to build the boost libraries for the iPhone?<br>
(By the way, /usr/bin/arm-apple-darwin9-g++-4.0.1 is existing on my Mac.)<br>
<br>
Thanks in advance,<br>
Mani<br>
--<br>
<a href="http://mani.de" target="_blank">http://mani.de</a> - friendly software<br>
iVolume - listen to music freehand<br>
Sahara - sand in your pocket<br>
Watchdog - baffle the curious<br>
LittleSecrets - the encrypted notepad<br>
<br>
_______________________________________________<br>
Boost-users mailing list<br>
<a href="mailto:Boost-users@lists.boost.org" target="_blank">Boost-users@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br>
</blockquote></div><br></div>