[MPlayer-dev-eng] [PATCH] Fix MPlayer to compile on Darwin/x86_64

Uoti Urpala uoti.urpala at pp1.inet.fi
Sun Jun 7 13:51:55 CEST 2009


On Sun, 2009-06-07 at 00:34 +0200, Guillaume POIRIER wrote:
> On Sat, Jun 6, 2009 at 5:59 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > I wonder why you need to check for __APPLE__,
> 
> 
> I need it because I need to detect that this file is compiled on a Darwin
> OS, and __APPLE__ define is a define that is provided by the compiler.
> Now, why I'm making MANGLE behave as PIC in x86_64 mode is described in the
> document which I gave a link to earlier:
> http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopics/1-Articles/x86_64_code.html
> This is the relevant sentence: "It’s most similar to the small PIC model
> defined by the x86-64 System V ABI."

Is there some significant difference between this and full PIC? IOW is
there benefit from not just always setting PIC on that platform?




More information about the MPlayer-dev-eng mailing list