Re: bad_typeid dyld Error on Leopard (10.5)
Re: bad_typeid dyld Error on Leopard (10.5)
- Subject: Re: bad_typeid dyld Error on Leopard (10.5)
- From: Greg Guerin <email@hidden>
- Date: Mon, 17 May 2010 15:07:26 -0700
Manfred Schwind wrote:
manitu:~ mani$ otool -vt /Developer/SDKs/MacOSX10.6.sdk/usr/lib/
libstdc++.6.dylib | grep bad_typeid
manitu:~ mani$
What's that? There's also no bad_typeid in libstdc++ in the SDK of
Snow Leopard?!? How could that be?
The dylibs in an SDK don't need a text section (i.e. code). All they
need are symbols. This is because an SDK is only used during
development, not to actually run anything.
Look at the relative sizes of the lib in the SDK vs. the lib in /usr/
lib. The runtime dylib will be significantly larger, because it
contains code.
Try the 'nm' command instead of otool.
And to your basic issue, are you compiling with 10.5 as the minimum
deployment target? If not, then you need to do that if you expect
your code to run on 10.5.
-- GG
_______________________________________________
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