Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: -mdynamic-no-pic on x86-32 vs 64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -mdynamic-no-pic on x86-32 vs 64



-mdynamic-no-pic is not supported for x86_64 (it is silently ignored), which is why you don't get an error. Performance gains are probably illusory, and you would get it without -mdynamic-no-pic.

Under i386 you are attempting to link -mdynamic-no-pic code into a shared library, which is not supported. Don't do that.

Shantonu Sen
email@hidden

Sent from my Mac Pro

On Dec 11, 2009, at 9:29 AM, Joel Reymont wrote:

> The reason I want to use -mdynamic-no-pic is that it seems to give Firefox a large performance boost on Snow Leopard when compiled mostly statically and for x86-64.
>
> 	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

References: 
 >-mdynamic-no-pic on x86-32 vs 64 (From: Joel Reymont <email@hidden>)
 >Re: -mdynamic-no-pic on x86-32 vs 64 (From: Shantonu Sen <email@hidden>)
 >Re: -mdynamic-no-pic on x86-32 vs 64 (From: Joel Reymont <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.