Re: Path names in executable
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