Re: Problems with compilation on Snow leopard for target 10.5
Re: Problems with compilation on Snow leopard for target 10.5
- Subject: Re: Problems with compilation on Snow leopard for target 10.5
- From: Vojtěch Meluzín <email@hidden>
- Date: Sun, 17 Oct 2010 22:20:37 +0200
Thanks. Anyway right now I have found an interesting thing - if I remove "-staticlibgcc" from linker, then it starts working! No idea why. I may be mistaken, but so far it seems this is what caused that and I certainly didn't expect this one.
Vojtech
Dne 17. října 2010 21:22 Kyle Sluder
<email@hidden> napsal(a):
On Oct 16, 2010, at 4:45 PM, Vojtěch Meluzín <
email@hidden> wrote:
> It crashes in an exception handler, and I suspect the "libstdc++.6.dylib" is a part of 10.6.x libs, right? But I specified "-static-libgcc" and also the target is 10.5. Honestly I even don't know why the exception handlers are in shared libraries.
> If I remove the 10.5 options, it works without problems.
> What should I do? Any ideas?
Have you read thi?: http://www.trilithium.com/johan/2005/06/static-libstdc/
The big takeaway is that you can't use -static-libgcc. You have no idea if any other code in your process, including system frameworks, is going to load C++ code dynamically.
--Kyle Sluder
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden