• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dwarf and comparing binaries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Dwarf and comparing binaries
      • From: Peter O'Gorman <email@hidden>
References: 
 >Dwarf and comparing binaries (From: Jonas Maebe <email@hidden>)
 >Re: Dwarf and comparing binaries (From: Peter O'Gorman <email@hidden>)
 >Re: Dwarf and comparing binaries (From: Peter O'Gorman <email@hidden>)

  • Prev by Date: Re: memberd and lookupd
  • Next by Date: Interface Builder - Classes query
  • Previous by thread: Re: Dwarf and comparing binaries
  • Next by thread: Re: Dwarf and comparing binaries
  • Index(es):
    • Date
    • Thread