title: Unable to compile i386 compatible ffmpeg dylibs on Mac OS X
body: <p>I'm running 64-bit Lion but I need to compile a 32-bit version of ffmpeg because another library I'm using is only available as 32-bit. I've tried a number of different configurations but they're all giving me errors. Here's what I've tried:</p>
  <blockquote>
  <p>./configure --disable-static --enable-shared --disable-outdev=sdl --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --enable-runtime-cpudetect --arch=i386 --extra-cflags=&quot;-arch i386&quot; --extra-ldflags=&quot;-arch i386&quot; --target-os=darwin --enable-cross-compile</p>
  <p>./configure --disable-static --enable-shared --disable-outdev=sdl --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --enable-runtime-cpudetect --arch=i386 --extra-cflags=&quot;-arch i386&quot; --extra-ldflags=&quot;-arch i386&quot;</p>
  <p>./configure --disable-static --enable-shared --disable-outdev=sdl --disable-bzlib --disable-libfreetype --disable-libopenjpeg --enable-zlib --enable-runtime-cpudetect --arch=x86_32</p>
  </blockquote>
  <p>I either get a &quot;ran out of registers during register allocation&quot; error during make or gcc complains that cross-compile is not active.</p>