[x264-devel] x86_64 on Darwin9.0 (Mac OS X 10.5)

Antoine Gerschenfeld gerschen at clipper.ens.fr
Tue Nov 20 09:56:41 CET 2007


Hi,

Here is a patch that makes it possible to compile x264 in x86_64 on
the latest Mac OS X, Leopard (it may work on Tiger, but some libraries
may be missing). The 64-bit option can be enabled by running

./configure --host=x86_64-darwin

and requires yasm >= 0.6 (which supports 64-bit mach-O). Because of
restrictions inherent in Mach-O 64, PIC has to be enabled (this is
taken care of) and, as in i386, read-only data has to go in the TEXT
section (hence the return of the SECTION_RODATA macro).

As on Linux, the speed gain from moving to x86_64 is between 10-20% on
my machine...

Best regards,

AG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86_64-darwin.diff
Type: text/x-diff
Size: 3565 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20071120/b8b990d8/attachment.diff 


More information about the x264-devel mailing list