Re: Link error when building release config of framework
Re: Link error when building release config of framework
- Subject: Re: Link error when building release config of framework
- From: Steve Mills <email@hidden>
- Date: Mon, 7 Jan 2008 10:24:14 -0600
On Jan 7, 2008, at 10:00:02, Jean-Daniel Dupas wrote:
Make sure the "Generate Position-Dependent Code" build setting is
NOT checked.
That's what Chris was talking about (-mdynamic-nopic).
Xcode has it as -mdynamic-no-pic, not -mdynamic-nopic. That's probably
why I couldn't find it when searching. I just noticed a weird bug that
I'll report. I typed "position" into the project settings search
field. The Collection popup was currently set to Linking. No setting
was found with that name, so I tried Build Options. Still none, so I
tried Language. Nope, so Code Generation. It was found there. The
checkbox was turned off, which I thought was odd, since I was pretty
sure I had it set to on in our .xcconfig file for Release builds,
which the project setting inherits from. I changed the config to Debug
and saw that it was indeed off there, like it should be. Then switched
back to Release config. It now appeared as ON.
Turning it off does indeed get rid of the errors. Thanks for the
clarification. We dumb non-Apple developers need to see actual UI
names like Generate Postion-Dependent Code, not gcc names like -
mdynamic-no-pic. It helps a lot and is much more clear.
If this is not enought, could you post the transcript of the
compilation of one of your framework file.
I previously did post the transcript for the 2 files that generated
the error in this thread.
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