<div>One of the solutions:</div>$ 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<br>
<br><div class="gmail_quote">2011/6/25 Ben Siroshton <span dir="ltr"><<a href="mailto:ben@siroshton.com">ben@siroshton.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi. I am hoping to find some help compiling for osx 32bit (darwin10). I have tried the following:<br>
<br>
> ./configure --enable-static --host=x86-apple-darwin10<br>
<br>
However I get the following message:<br>
<br>
Found no assembler<br>
Minimum version is yasm-0.7.0<br>
If you really want to compile without asm, configure with --disable-asm.<br>
<br>
Hmm.. so I check out yasm:<br>
<br>
> yasm --version, and I get:<br>
yasm 1.0.1.2326<br>
Compiled on Aug 31 2010.<br>
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.<br>
<br>
Strange.. Ok, so then I try:<br>
<br>
> ./configure --enable-static --host=x86-apple-darwin10 --disable-asm<br>
<br>
Great, it configured. so I run:<br>
<br>
> make<br>
<br>
everything goes ok and the library builds but....<br>
<br>
> lipo -info libx264.a<br>
input file libx264.a is not a fat file<br>
Non-fat file: libx264.a is architecture: x86_64<br>
<br>
Rats, 64bit library. Besides it would be nice to have the asm optimizations. I appreciate any help.<br>
<br>
Thanks.<br>
<br>
-=ben<br>
<br>
<br>
______________________________<u></u>_________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org" target="_blank">x264-devel@videolan.org</a><br>
<a href="http://mailman.videolan.org/listinfo/x264-devel" target="_blank">http://mailman.videolan.org/<u></u>listinfo/x264-devel</a><br>
</blockquote></div><br>