Re: prebinding framework
Re: prebinding framework
- Subject: Re: prebinding framework
- From: Scott Tooker <email@hidden>
- Date: Wed, 11 Jan 2006 14:49:02 -0800
Unless you really NEED to run on a release before 10.3.4, don't
prebind your framework/app. It's just not worth the hassle.
Scott
On Jan 11, 2006, at 11:05 AM, Steve Mills wrote:
After moving our projects from CW to Xcode, I can't get our private
framework to load into our app. After reading documentation, I
found the page that says to add an "Other Linker Flags" of -
seg1addr, so I added it. One thing I'm not sure of here (this
always confuses me in Xcode) is how to format things like this. If
I click Edit and add the flag as "-seg1addr 0xc0000000", then it
comes out looking like this when I leave the Edit sheet:
-seg1addr\ 0xc0000000
I also tried it with an equal sign between them, "-
seg1addr=0xc0000000". I don't know which works because Xcode gives
me an error right away:
/usr/bin/libtool: unknown option character `e' in: -seg1addr
0xc0000000
Looking at the build transcript shows me that some options are
passed to the linker with an equal sign (-mmacosx-version-min=10.3)
and others are passed with a space (-framework CoreServices). So I
edited the "Other Linker Flags" directly in the settings list and
used a space between them. That worked. Seems like it should also
work if you use the Edit button, but that just escapes the space.
It's not obvious that a flag goes one line and its value goes on
the next line in the Editor.
Now for a real question. What address should I use for prebinding
our framework? The docs don't totally make sense to me. Since we
only run in 10.3 and above, I'd guess we should use 0xc0000000, but
I don't consider our framework to be "3rd party".
<http://developer.apple.com/documentation/Performance/Conceptual/
LaunchTime/Articles/Prebinding.html#//apple_ref/doc/uid/20001858>
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
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
_______________________________________________
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