[Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X
Simon Daniels
simondaniels23 at gmail.com
Tue Nov 22 21:24:25 CET 2011
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:
./configure --disable-static --enable-shared --disable-outdev=sdl
--disable-bzlib --disable-libfreetype --disable-libopenjpeg
--enable-zlib --enable-runtime-cpudetect --arch=i386
--extra-cflags="-arch i386" --extra-ldflags="-arch i386"
--target-os=darwin --enable-cross-compile
./configure --disable-static --enable-shared --disable-outdev=sdl
--disable-bzlib --disable-libfreetype --disable-libopenjpeg
--enable-zlib --enable-runtime-cpudetect --arch=i386
--extra-cflags="-arch i386" --extra-ldflags="-arch i386"
./configure --disable-static --enable-shared --disable-outdev=sdl
--disable-bzlib --disable-libfreetype --disable-libopenjpeg
--enable-zlib --enable-runtime-cpudetect --arch=i386
--extra-cflags="-arch i386 -m32 --fomit-frame-pointer"
--extra-ldflags="-arch i386 -m32 -fomit-frame-pointer" --CC="gcc -m32
-fomit-frame-pointer"
./configure --disable-static --enable-shared --disable-outdev=sdl
--disable-bzlib --disable-libfreetype --disable-libopenjpeg
--enable-zlib --enable-runtime-cpudetect --arch=x86_32
I either get a "ran out of registers during register allocation" error
during make or gcc complains that cross-compile is not active.
My stackoverflow post about this is here:
http://stackoverflow.com/questions/8221285/unable-to-compile-i386-compatible-ffmpeg-dylibs-on-mac-os-x
Thanks!
More information about the Libav-user
mailing list