Re: -mdynamic-no-pic on x86-32 vs 64
Re: -mdynamic-no-pic on x86-32 vs 64
- Subject: Re: -mdynamic-no-pic on x86-32 vs 64
- From: Shantonu Sen <email@hidden>
- Date: Fri, 11 Dec 2009 09:18:35 -0800
There's not enough information here to give an answer.
Please provide the compiler and linker options you're using for prvrsion.o, another source file that doesn't complain, and the final link.
Also, I'm not sure what "cross-compiling" you're referring to. Are you building this on non-Mac OS X?
Shantonu Sen
email@hidden
Sent from my Mac Pro
On Dec 11, 2009, at 9:10 AM, Joel Reymont wrote:
> I get this error when cross-compiling for x86-32 on Snow Leopard:
>
> ---
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in _libVersionPoint from ./prvrsion.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
> ---
>
> Why does this error only show up when cross-compiling?
>
> Thanks, Joel
>
> ---
> Mac hacker with a performance bent
> http://www.linkedin.com/in/joelreymont
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden