thanks,<br><br>Ok, looking at the resulting libs, I realized that the gcc version in my ~/user-config.jam file was wrong, here&#39;s the new one:<br><br><br>##############################<div id=":12g" class="ii gt">###################################<br>
# Compiler configuration<br>
using darwin : 4.2.1~iphone<br>   :<br>/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch arm<br>   : &lt;striper&gt;<br>   : &lt;architecture&gt;arm &lt;target-os&gt;iphone &lt;macosx-version&gt;iphone-3.0<br>

   ;<br>using darwin : 4.2.1~iphonesim<br>   :<br>/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386<br>   : &lt;striper&gt;<br>   : &lt;architecture&gt;x86 &lt;target-os&gt;iphone &lt;macosx-version&gt;iphonesim-3.0<br>

   ; <br>#################################################################</div><br><br><br>Ok, I wanted to play it dumb, but here is a shortcut. An estimate is that each option in the following incantation took me 30 minutes of search on the net.<br>
<br>So here is the command line I used to build boost for the iphone device (as opposed to the simulator)<br><br>./bjam toolset=darwin architecture=arm target-os=iphone macosx-version=iphone-3.0 link=static threading=single define=_LITTLE_ENDIAN include=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.2.1/armv6-apple-darwin9<br>

<br>Compilation succeded, so that&#39;s all good. I still three questions thought:<br><br>1) couldn&#39;t I make the command line shorter? maybe by migrating some of the stuff in the last command line to the user-config.jam?<br>
If so, an example would be great (for the include option for instance)<br><br>2) I&#39;m now worrying a bit about the name of the generated lib:  libboost_filesystem-xgcc42-1_39.a<br>Is that what I should expect?<br>On boost 1.38.0, it was libboost_filesystem.a<br>
<br>3) Btw, how do I know which compiler (exact path) I&#39;m using for sure because all I can see is &quot;darwin.compile.c++&quot;?<br><br>Thanks,<br>Frank<br><br>

