[x264-devel] compiling for osx 32bit

Ben Siroshton ben at siroshton.com
Sat Jun 25 08:35:16 CEST 2011


Hi.  I am hoping to find some help compiling for osx 32bit (darwin10).  
I have tried the following:

 > ./configure --enable-static --host=x86-apple-darwin10

However I get the following message:

     Found no assembler
     Minimum version is yasm-0.7.0
     If you really want to compile without asm, configure with 
--disable-asm.

Hmm.. so I check out yasm:

 > yasm --version, and I get:
yasm 1.0.1.2326
Compiled on Aug 31 2010.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.

Strange.. Ok, so then I try:

 > ./configure --enable-static --host=x86-apple-darwin10 --disable-asm

Great, it configured.  so I run:

 > make

everything goes ok and the library builds but....

 > lipo -info libx264.a
input file libx264.a is not a fat file
Non-fat file: libx264.a is architecture: x86_64

Rats, 64bit library.  Besides it would be nice to have the asm 
optimizations.  I appreciate any help.

Thanks.

-=ben




More information about the x264-devel mailing list