Re: Regarding atos and arch
Re: Regarding atos and arch
- Subject: Re: Regarding atos and arch
- From: Eric Albert <email@hidden>
- Date: Tue, 19 Sep 2006 13:53:44 -0700
On Sep 19, 2006, at 1:47 PM, Shawn Erickson wrote:
On 9/19/06, Lyndsey Ferguson <email@hidden> wrote:
I have written a nice python script to convert a crash log without
symbols
into one with symbols. However, it cannot convert a crash log
generated on a
PowerPC on a Intel computer even if the Symbol full binary is
Universal.
atos no longer seems to support the -arch option. Has anyone found
a way
around this? According to this June 19, 1998 manpage:
http://developer.apple.com/documentation/Darwin/Reference/Manpages/
man1/atos.1.html
The arch option exists. However, I am guessing that this Feburary
28, 2006
Tech Note
http://developer.apple.com/technotes/tn2004/tn2123.html
Is more accurate. Has anyone found a better solution than running
back and
forth between a PowerPC and Intel Macintosh computer?
I assume you noted the work around outlined in the tech note...
"IMPORTANT: atos does not currently support a -arch command line
option; for a universal binary, it always works with the current
architecture (r. 4086505). Until this limitation is lifted, if you
need to do cross-architecture address-to-symbol mapping, the best
approach is to use lipo to extract a temporary copy of the code for
the relevant architecture, and then run atos against that."
As of Xcode 2.3, atos does support a -arch flag. It might have some
bugs under some circumstances -- I don't think it's had much testing
-- but you can try it and see how it goes.
Hope this helps,
Eric
_______________________________________________
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