• 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: Path names in executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Path names in executable


  • Subject: Re: Path names in executable
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 4 Apr 2006 20:01:10 +0100

Well, I'm pretty sure that DVD Player and Address Book are Carbon which would explain that. Don't know about Calculator.

Mike.

On 4 Apr 2006, at 13:28PM, Stefan Schüßler wrote:

Ondra,

Am 04.04.2006 um 13:49 schrieb Ondra Cada:

Don't you? I do:

you're right, some apps do contain path names but others don't:

otool -ov /Applications/Calculator.app/Contents/MacOS/Calculator | grep '/*\.m'
otool -ov /Applications/DVD\ Player.app/Contents/MacOS/DVD\ Player | grep '/*\.m'
otool -ov /Applications/Address\ Book.app/Contents/MacOS/Address\ Book | grep '/*\.m'


... don't use any folder-based hierarchy in the project (or even fake some nonsense one), and base the structure for your internal needs solely on Xcode groups.

I do use Xcode groups. This doesn't prevent the linker from including the absolute path names of my class files.


BTW, the assembly code of MyClass.m ends with:

  L_OBJC_CLASS_NAME_0:
    .ascii "MyClass\0"
    .align 2
  L_OBJC_CLASS_NAME_1:
    .ascii "NSObject\0"
    .align 2
  L_OBJC_CLASS_NAME_2:
    .ascii "/Users/myusername/test/MyClass.m\0"
    .subsections_via_symbols

Stefan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Path names in executable
      • From: "Shawn Erickson" <email@hidden>
References: 
 >Re: Path names in executable (From: "Sean McBride" <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)
 >Re: Path names in executable (From: Ondra Cada <email@hidden>)
 >Re: Path names in executable (From: Shawn Erickson <email@hidden>)
 >Re: Path names in executable (From: Ondra Cada <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)
 >Re: Path names in executable (From: Ondra Cada <email@hidden>)
 >Re: Path names in executable (From: Stefan Schüßler <email@hidden>)

  • Prev by Date: tablecolumn and programmatic bindings
  • Next by Date: Core Data: adding a child data element, saving... 'Selector Not Recognized'
  • Previous by thread: Re: Path names in executable
  • Next by thread: Re: Path names in executable
  • Index(es):
    • Date
    • Thread