Custom frameworks and linking - SOLVED!
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.