Boost logo

Boost Users :

Subject: Re: [Boost-users] How to build boost for iPhone?
From: gtsml owevwr (gtsml.owevwr_at_[hidden])
Date: 2009-04-21 17:26:39


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 <lists_at_[hidden]> wrote:

> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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