Nasm, PIC and the Leopard/XCode 3.0 linker
Nasm, PIC and the Leopard/XCode 3.0 linker
- Subject: Nasm, PIC and the Leopard/XCode 3.0 linker
- From: David Wolstencroft <email@hidden>
- Date: Wed, 31 Oct 2007 20:34:47 -0700
All,
I've recently encountered the following problem while linking into a dynamic library / bundle with object files created by nasm. I have not had this issue with Xcode 2.4 on Tiger, do I have this problem with Xcode 2.5 on Leopard.
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _(function)_sse3 from libSomething.a(someobjectfile_sse3.o) not allowed in slidable image
I know the root of the issue is that PIC is not being generated, though I've been able to link and run as mentioned before fine using the linker flag "-fread-only-relocs suppress ". Is there currently another work around for the Xcode 3.0 linker?
Any assistance would be greatly appreciated.
- David
|
_______________________________________________
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