[FFmpeg-user] How to build for static ffmpeg executable

Reindl Harald h.reindl at thelounge.net
Fri Jan 22 01:08:13 CET 2016



Am 22.01.2016 um 00:59 schrieb Carl Eugen Hoyos:
> Reindl Harald <h.reindl <at> thelounge.net> writes:
>
>> Am 22.01.2016 um 00:41 schrieb Carl Eugen Hoyos:
>>> John Pompeii <lksm6-at-yahoo.com <at> ffmpeg.org> writes:
>>>
>>>> --enable-bzlib
>>>> --enable-iconv
>>>> --enable-lzma
>>>> --enable-zlib
>>>
>>> These options have no effect, they do not do
>>> what you seem to believe they do. I suggest
>>> you remove them
>>
>> since you always suggest to remove them *why* do
>> the exist at all in ./configure --help and not
>> only their counterpart --disable-xx?
>
> [quote]
>    --disable-bzlib          disable bzlib [autodetect]
>    --disable-zlib           disable zlib [autodetect]
>    --disable-iconv          disable iconv [autodetect]
>    --disable-lzma           disable lzma [autodetect]
> [/quote]
>
> ???

typically configure scripts warn about unkonwn params
ffmpeg don't


~/rpmbuild/BUILD/ffmpeg-20160117/generic ~/rpmbuild/BUILD/ffmpeg-20160117
+ ../configure --prefix=/usr/local --bindir=/usr/local/bin 
--mandir=/usr/local/man '--extra-cflags=-I/usr/local/x264 -m64 -O2 -g0 
-march=sandybridge -mtune=sandybridge -fopenmp -mfpmath=sse -pipe 
-fno-strict-aliasing -fomit-frame-pointer -finline-functions 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 
-D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security 
-Ofast -ffast-math -funsafe-math-optimizations -funroll-loops 
-funswitch-loops -Wno-pointer-sign -minline-all-stringops -flto 
-fuse-ld=gold -fuse-linker-plugin' '--extra-ldflags=-I/usr/local/x264 
-L/usr/local/x264 -ldl -Wl,-z,now 
-Wl,-z,relro,-z,noexecstack,-fuse-ld=gold -m64 -O2 -g0 
-march=sandybridge -mtune=sandybridge -fopenmp -mfpmath=sse -pipe 
-fno-strict-aliasing -fomit-frame-pointer -finline-functions 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 
-D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security 
-Ofast -ffast-math -funsafe-math-optimizations -funroll-loops 
-funswitch-loops -Wno-pointer-sign -minline-all-stringops -flto 
-fuse-ld=gold -fuse-linker-plugin' --enable-pic --enable-lto --ar=gcc-ar 
--ranlib=true --enable-nonfree --enable-gpl --enable-version3 
--enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libvpx 
--enable-openssl --enable-static --enable-runtime-cpudetect 
--enable-bzlib --enable-zlib --disable-amd3dnow --disable-amd3dnowext 
--disable-avdevice --disable-debug --disable-devices --disable-ffplay 
--disable-ffprobe --disable-ffserver --disable-htmlpages 
--disable-hwaccels --disable-iconv --disable-libdc1394 --disable-libfaac 
--disable-libfreetype --disable-libgsm --disable-libopencore-amrnb 
--disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg 
--disable-libopus --disable-librtmp --disable-libschroedinger 
--disable-libspeex --disable-libvorbis --disable-libxvid 
--disable-podpages --disable-postproc --disable-protocol=gopher 
--disable-shared --disable-txtpages
nm: /tmp/ffconf.WVafcwrW.o: plugin needed to handle lto object
install prefix            /usr/local
source path               /home/builduser/rpmbuild/BUILD/ffmpeg-20160117

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160122/5f065ca1/attachment.sig>


More information about the ffmpeg-user mailing list