[FFmpeg-devel] [PATCH] Fix apply_welch_window_sse2 compilation on Mac OS X/x86

Graham Booker gbooker
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
> 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...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3632 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071017/c57ec767/attachment.bin>

More information about the ffmpeg-devel mailing list