[x264-devel] compiling for osx 32bit

Yasuhiro Ikeda wipple625 at gmail.com
Mon Jun 27 15:42:56 CEST 2011


One of the solutions:
$ CFLAGS="-arch i386 -isystem /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5 -m32" LDFLAGS="-arch i386 -isystem
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5
-Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk" ./configure --enable-static
--host=i386-apple-darwin9.8.0 && make

2011/6/25 Ben Siroshton <ben at siroshton.com>

> 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
>
>
> ______________________________**_________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/**listinfo/x264-devel<http://mailman.videolan.org/listinfo/x264-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110627/d633b6ec/attachment.html>


More information about the x264-devel mailing list