Re: Linker refuses to link my dylib? Why?
Re: Linker refuses to link my dylib? Why?
- Subject: Re: Linker refuses to link my dylib? Why?
- From: Jonas Maebe <email@hidden>
- Date: Thu, 15 Feb 2007 20:52:53 +0100
On 15 feb 2007, at 20:12, Eric Albert wrote:
Mac OS X requires libraries to be relocatable, so you can't build
them with -mdynamic-no-pic. The errors Theodore posted about are
exactly what you'll see when you build a library with -mdynamic-no-
pic. Non-PIC code in a library would be very slightly faster, but
PIC code has the advantage of actually working....
Just a small remark: it is possible to create working non-pic dynamic
libraries for ppc32 and i386 on at least Mac OS X 10.4.x (maybe not
with gcc though, but I can create them using our own compiler). It is
impossible for ppc64 though. I don't know about x86_64.
Jonas
_______________________________________________
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