[x264-devel] compiling for osx 32bit
Bruno Gonzalez
stenyak at gmail.com
Mon Jun 27 10:38:31 CEST 2011
If it's of any help, in my case I force build for i386 in OSX like this:
export CFLAGS="$CFLAGS -arch i386"
export LDFLAGS="$LDFLAGS -arch i386"
./configure --host=$(./config.guess |sed "s/x86_64/i386/g")
On Sat, Jun 25, 2011 at 08:35, Ben Siroshton <ben at siroshton.com> wrote:
> 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>
>
--
Saludos,
Bruno González
_______________________________________________
Jabber: stenyak AT gmail.com
http://www.stenyak.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110627/2d262116/attachment.html>
More information about the x264-devel
mailing list