Boost logo

Boost :

Subject: Re: [boost] Serialise on Mac OSX 10.8, XCode and GCC
From: Tim Burgess (tim_at_[hidden])
Date: 2013-03-26 12:31:18


OK,

I found an article suggesting I set an XCode linker flag:

-Lstdlibc++

It doesn't help, so I'll try your suggestion and attempt a Boost rebuild
using libc++.

Best wishes.

Tim Burgess

-----Original Message-----
From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Jonathan
Wakely
Sent: 26 March 2013 16:04
To: boost_at_[hidden]
Subject: Re: [boost] Serialise on Mac OSX 10.8, XCode and GCC

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++.

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


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