[FFmpeg-user] Can't set --extra-ldflags=-Wl,--strip-all

YIRAN LI mrfun.china at gmail.com
Wed Apr 9 03:43:53 CEST 2014


Hi,

I tried to set --strip-all option to configure but failed, while other
options like -Wl, -M could be correctly set. (build ffmpeg dlls on MinGW
for Windows)

According to attached config.log
gcc -Wl,--strip-all -o /tmp/ffconf.pVuzGaQU.exe /tmp/ffconf.GDKMVvFe.o
failed.
But I ran same command on MingW and everything is fine.

hxuanyu at hxuanyu-PC /c/sourcecode/components/thecomponents/ffmpeg16
$ gcc -c -o test.o test.c

hxuanyu at hxuanyu-PC /c/sourcecode/components/thecomponents/ffmpeg16
$ gcc -Wl,--strip-all -o test.exe test.o

hxuanyu at hxuanyu-PC /c/sourcecode/components/thecomponents/ffmpeg16
$ which gcc; gcc --version
/mingw/bin/gcc.exe
gcc.exe (GCC) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 101583 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140409/e3274560/attachment.obj>


More information about the ffmpeg-user mailing list