[Libav-user] Unable to compile i386 compatible ffmpeg dylibs on Mac OS X
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Nov 24 21:32:15 CET 2011
Simon Daniels <simondaniels23 at ...> writes:
> Here's what I did this time. I'm sticking to ffmpeg-0.8.7 because I am
> a distributor.
Does it work with current git head? If yes, we could backport the change...
> 1. Ran ./configure --cc="gcc -m32" --disable-decoder=h264
Should have been --disable-decoder=h264,svq3 --disable-parser=h264 (sorry for
not testing myself).
[...]
> 4. Added -fno-omit-frame-pointer to end and ran gcc -m32 -I.
> -I"/Users/user/Downloads/ffmpeg-0.8.7" -D_ISOC99_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DHAVE_AV_CONFIG_H -std=c99
> -mdynamic-no-pic -fomit-frame-pointer -g -Wdeclaration-after-statement
> -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
> -Wwrite-strings -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
> -O3 -fno-math-errno -mllvm -stack-alignment=16 -MMD -MF
> libavcodec/h264_cabac.d -MT libavcodec/h264_cabac.o -c -o
> libavcodec/h264_cabac.o -fno-omit-frame-pointer
> libavcodec/h264_cabac.c
You can try to replace -O3 with -O2 (or -O1)
Carl Eugen
More information about the Libav-user
mailing list