Boost logo

Boost Users :

From: Mat Marcus (mat-lists_at_[hidden])
Date: 2008-04-16 02:02:31


On Tue, Apr 15, 2008 at 7:25 PM, Thomas Hauk <thauk_at_[hidden]> wrote:
> I would like to build 1.35.0 Boost libs (especially date_time,
> filesystem, regex, system, and thread) on my G5 as Universal Binaries
> with bjam 3.1.16, so I can use them in a project with Xcode on both my
> G5 and my Intel-based MacBook Pro. (I was surprised they did not build
> that way by default). The command I used was:
>
> $> bjam --toolset=darwin --build-type=complete --with-thread --with-
> date_time --with-filesystem --with-regex --with-system
>
> I know they're just built PPC because I used the `file` command, e.g.:
>
> $> file libboost_system-mt-d-1_35.dylib
> libboost_system-mt-d-1_35.dylib: Mach-O dynamically linked shared
> library ppc
>
> Can anyone help?

Try adding architecture=combined to the end of your command line.

  - Mat


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