• 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: Xcode 2.0 balks at linking dynamic libraries and frameworks.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.0 balks at linking dynamic libraries and frameworks.


  • Subject: Re: Xcode 2.0 balks at linking dynamic libraries and frameworks.
  • From: Scott Tooker <email@hidden>
  • Date: Sat, 30 Apr 2005 07:53:33 -0700

We should only be passing -mdynamic_no_pic to the compiler by default for targets that produce applications or command line tools. I'd double check that "Generate Position-Dependent Code" is not enabled in your active build style. If this isn't the case, make sure that the target itself has the build setting turned off (in your case the setting should be bold and unchecked in the target inspector).

If neither of those attempts work, a bug report would be in order (preferably with a small project that shows this or at least the project file you are seeing this in).

Scott

On Apr 30, 2005, at 3:53 AM, Ian Kemmish wrote:

It appears that supplying the linker flag "-read_only_relocs suppress" is a workaround for this problem.  But I still don't know whether this is just a feature of all dynamic libraries that someone has decided should now be an error condition, or whether the compiler has started generating different code.


This may or may no be related, but it also seems that XCode will always pass -mdynamic_no_pic to the compiler, even if your target inspector's "Build" pane shows that you've asked it not to.


 _______________________________________________
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

References: 
 >Xcode 2.0 balks at linking dynamic libraries and frameworks. (From: Ian Kemmish <email@hidden>)

  • Prev by Date: Re: gcc4.0
  • Next by Date: Deployment Target = 102 doesn't run on Jaguar 10.2.8
  • Previous by thread: Xcode 2.0 balks at linking dynamic libraries and frameworks.
  • Next by thread: Deployment Target = 102 doesn't run on Jaguar 10.2.8
  • Index(es):
    • Date
    • Thread