Boost logo

Boost-Build :

Subject: Re: [Boost-build] Build Boost on OSX with GCC 4.7
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-04-04 11:09:39


On 03/04/12 00:19, Jójó wrote:

> What we THINK this may is is that the linker we're passing the objects
> to after the compilation made by gcc-4.7 can't recognize an option,
> because even though we specify the toolset as "toolset=gcc-4.7", it
> may not be picking up on the fact that it's building in an OSX system
> at some point, thus the '-R' option not being recognized. We build gcc
> 4.7 from source, but it's in a Darwin system. Could it be that it's
> using a linker that is not appropriate for the task with this
> compiler? How should we go about this if we want to compile Boost with
> GCC 4.7?

Jójó,

could you try editing your ~/user-config.jam to say:

         using gcc : : : <linker-type>darwin ;

HTH,
Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk