[FFmpeg-devel] [PATCH] Fix apply_welch_window_sse2 compilation on Mac OS X/x86
Wed Oct 17 18:14:33 CEST 2007
Ah, I missed that you didn't have -mdynamic-no-pic. That should make
the difference you need.
I should note, this will not work on leopard though.
On Oct 17, 2007, at 9:26 AM, Pierre d'Herbemont wrote:
> Sorry, I though the you were only downgrading from O2 or O3.
> To me, omit-frame-pointer frees %ebx, which is nice, but not enough
> here (I was already compiling it with fomit-frame-pointer):
> (funit-at-a-time doesn't help too).
> gcc -I"~ffmpeg"/libswscale -I"~ffmpeg"/libavcodec -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -
> I"~ffmpeg" -I"~ffmpeg" -I"~ffmpeg"/libavutil -no-cpp-precomp -pipe -
> force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -
> Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-
> optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3
> -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3632 bytes
Desc: not available
More information about the ffmpeg-devel