Boost logo

Boost :

Subject: Re: [boost] Serialise on Mac OSX 10.8, XCode and GCC
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-03-26 12:04:29


On 26 March 2013 16:00, Tim Burgess wrote:
> Hi,
>
> I built Boost with the Darwin toolset, so that uses GCC (how can I check
> which linker is being used by the Boost build system?). My application
> project is linking using libc++.
>
> Assuming I've got a linker mismatch, how can I either get Boost to link
> using libc++,

You'd need to pass -stdlib=libc++ to clang when compiling and linking.

> or get XCode to link using stdlibc?

There must be some XCode option to pass -stdlib=libstdc++ to the
compiler, which tells it to use libstdc++.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk