• 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
Custom frameworks and linking - SOLVED!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom frameworks and linking - SOLVED!


  • Subject: Custom frameworks and linking - SOLVED!
  • From: Sailor Quasar <email@hidden>
  • Date: Sun, 15 Jun 2003 19:16:39 -0400

After much grief, I have finally solved the strange dyld prebinding link warnings that continuously popped up whenever I tried to link with my custom framework, embedded or not. It turns out that there's a little-known barely-documented requirement to link frameworks and applications that use them without warnings: the address ranges have to not overlap. The solution is to add a "-seg1addr" option to the linker flags in the PB target settings for the framework target. I've had to guess the proper value and it's probably wrong, but 0xC0000000 is working for me. I thought that this would be helpful to all the people I saw in the archives looking for solutions to this annoying thing :). Embedded or shared, debugging and linking, prebinding and all, this removes All the linker warnings and errors for custom frameworks :).

-- Sailor Quasar, guardian of Leraz's memory
"Face of stone, mind of calm, soul of love."
Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Custom frameworks and linking - SOLVED!
      • From: Wade Tregaskis <email@hidden>
    • Re: Custom frameworks and linking - SOLVED!
      • From: Jean-Francois Roy <email@hidden>
  • Prev by Date: Managing different views for the same window
  • Next by Date: Re: Custom frameworks and linking - SOLVED!
  • Previous by thread: Managing different views for the same window
  • Next by thread: Re: Custom frameworks and linking - SOLVED!
  • Index(es):
    • Date
    • Thread