Re: Dwarf and comparing binaries
Re: Dwarf and comparing binaries
- Subject: Re: Dwarf and comparing binaries
- From: Peter O'Gorman <email@hidden>
- Date: Sat, 24 Nov 2007 14:33:27 -0600
Peter O'Gorman wrote:
>
> The linker adds a UUID to the object files. Try adding -no_uuid to the
> link flags. You might need to -Wl,-no_uuid, I have not checked if gcc
> passes the flag through.
I just did a quick check, you do not need -Wl,. However note that the
final output will differ if you are doing:
cc -o c c.c -g -no_uuid
i.e. without an intermediate object file. I guess the path to the
temporary object file is stored in the debugging info. Likely dsymutil
will help here. However:
cc -c -o c.o -g c.c
cc -o c c.o -no_uuid
Should give you identical output each time.
Hope this helps,
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
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