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@lists.boost.org] On Behalf Of Jonathan Wakely Sent: 26 March 2013 16:04 To: boost@lists.boost.org 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