update_dyld_shared_cache and @executable_path
update_dyld_shared_cache and @executable_path
- Subject: update_dyld_shared_cache and @executable_path
- From: Joel Reymont <email@hidden>
- Date: Thu, 27 Aug 2009 00:24:14 +0100
I added the path to my firefox binary to /var/db/dyld/
shared_region_roots/Applications.paths which now looks like this:
/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder
/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/
CoreGraphics.framework/Resources/WindowServer
/Applications/Safari.app/Contents/MacOS/Safari
/Users/joelr/work/mozilla/startup/Minefield.app/Contents/MacOS/firefox-
bin
/Applications/Mail.app/Contents/MacOS/Mail
/Applications/QuickTime Player.app/Contents/MacOS/QuickTime Player
/Applications/iChat.app/Contents/MacOS/iChat
/bin/sh
/bin/bash
I then ran update_dyld_shared_cache and went through another round of
io snooping with dtrace. I noticed that Firefox libraries are still
not loaded from the dyld shared cache.
I'm thinking that @executable_path may have something to do with this,
e.g. (otool -L firefox-bin)
/Users/joelr/work/mozilla/startup/Minefield.app/Contents/MacOS/firefox-
bin:
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
(compatibility version 1.0.0, current version 12.0.0)
@executable_path/XUL (compatibility version 1.0.0, current version
1.0.0)
@executable_path/libmozjs.dylib (compatibility version 1.0.0, current
version 1.0.0)
...
Is it kosher to edit /var/db/dyld/shared_region_roots/
Applications.paths and does update_dyld_shared_cache have a rule
against @executable_path?
Thanks, Joel
---
fastest mac firefox!
http://wagerlabs.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden