Re: Linking Against stdlibc++
Re: Linking Against stdlibc++
- Subject: Re: Linking Against stdlibc++
- From: Andreas Grosam <email@hidden>
- Date: Mon, 11 Jul 2011 23:52:27 +0200
On Jul 11, 2011, at 4:02 AM, G S wrote:
> I just change the extension on files that actually use C++ to mm.
> That's all I had to do. No problems so far, and I have plenty of C++
> in my project.
>
> Isn't that what you're supposed to do?
If you have a static or dynamic library with C++ code, and link this library to an application which doesn't use C++ itself, you may get linker errors if you didn't link against libstd++.
So, you need to link against libstdc++ somewhere, somehow. And the question was what's the best way to do this ;) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden