Boost logo

Boost Users :

Subject: Re: [Boost-users] Trying to install 1.47 on Snow Leopard using clang toolset gives error "missing argument parent-requirements"
From: Thomas Heller (thom.heller_at_[hidden])
Date: 2011-07-14 03:42:21


On Thu, Jul 14, 2011 at 9:32 AM, doug livesey <biot023_at_[hidden]> wrote:
>> Which docs? Did you try the Getting Started Guide?
> Yes -- on the page you link to, it says "If you're using a compiler other
> than your system's default, you'll need to use Boost.Build to create
> binaries."
> I'm using clang (because that's the most up-to-date C++ compiler I've been
> able to install on my machine), so I need to build the binaries, I guess?

Building the Boost.Build binaries with the default system compiler
should be fine.
What you want to do is to invoke the actual building with a different toolset.
This is what you want to do:
$ cd boost_1_47_0
$ ./bootstrap.sh --prefix=/path/to/your/boost/installation
$ ./b2 toolset=clang install

these set of commands will build the b2 with gcc, but the libraries
itself with clang.

HTH,
Thomas


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