Re: Dwarf and comparing binaries
Re: Dwarf and comparing binaries
- Subject: Re: Dwarf and comparing binaries
- From: Jonas Maebe <email@hidden>
- Date: Sun, 25 Nov 2007 11:46:53 +0100
On 24 Nov 2007, at 21:33, Peter O'Gorman wrote:
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.
Note that I'm not using gcc, as our compiler is self-hosting. Unlike
gcc, it does not use random filenames for intermediate files, so those
already always have the same name and are always stored in the same
location (the latter because the makefile places them in the same
location every time).
Thanks,
Jonas
_______________________________________________
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