[FFmpeg-user] compiling for android

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jul 9 18:05:56 CEST 2014


Patrick Shirkey <pshirkey <at> boosthardware.com> writes:

> ./configure --arch=arm --target-os=linux --cpu=cortex-a7
> --enable-cross-compile \
> --cross-prefix=/4.4/prebuilts/gcc/linux-x86/arm/
> arm-linux-androideabi-4.7/bin/arm-linux-androideabi- \
> --sysroot=/4.4/prebuilts/ndk/current/platforms/android-18/arch-arm \
> --enable-gpl --enable-avresample --enable-libx264 \

> --extra-cflags='-fno-builtin-sin -fno-builtin-cos' \

Do you see other problems if you remove them?
If yes, please confirm this (I will try to implement 
a fix), if not please remove them.

> --extra-ldflags='-Wl,-L/4.4/android-4.4-b1/external/x264'

Why -Wl, ?
(I know that it works fine but I wonder why you add 
unneeded things to the configure line.)

Carl Eugen



More information about the ffmpeg-user mailing list