Re: debugging symbols for universial binary library
Re: debugging symbols for universial binary library
- Subject: Re: debugging symbols for universial binary library
- From: Chris Espinosa <email@hidden>
- Date: Thu, 2 Apr 2009 08:55:00 -0700
On Apr 2, 2009, at 8:12 AM, Ethan Tira-Thompson wrote:
Alternatively, maybe I can change the debugging symbol format so
it's embedded in the .dylib and merged alongside with the code into
the universal binary...?
To answer my own question, I switched to using -gstabs+, which
stores the symbols for each architecture inside the binary, so they
can be lipo'd together and keep their symbols.
stabs are deprecated in Xcode and Mac OS X. Dwarf (not Dwarf with
dSYM) is embedded in the binary just like stabs.
The dSYM file, which has the universal symbols for your built binary,
is usually laid down adjacent to the binary when you build your Debug
configuration. Just find libpng.dSYM and send it to your users, they
can put it anywhere on their hard disk and gdb will find it using
Spotlight.
Chris
_______________________________________________
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