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

Loren Merritt lorenm at u.washington.edu
Wed Nov 21 14:50:09 CET 2007


On Tue, 20 Nov 2007, Antoine Gerschenfeld wrote:

> Oops.. Yes, that's the result of doing a project-wide
> search-and-replace. Corrected patch attached.

> -    ASFLAGS="-f elf -m amd64"
> +       if [ "$SYS" = MACOSX ];then
> +               ASFLAGS="-f macho64 -m amd64 -D__PIC__ -DPREFIX"
> +               CFLAGS="$CFLAGS -arch x86_64"
> +               LDFLAGS="$LDFLAGS -arch x86_64"
> +       else
> +       ASFLAGS="-f elf -m amd64"
> +       fi

Don't use hard tabs.

> +; Name of the .rodata section. On OS X we cannot use .rodata because NASM
> +; is unable to compute address offsets outside of .text so we use the .text
> +; section instead until NASM is fixed.

Yasm.

--Loren Merritt



More information about the x264-devel mailing list