Default ffmpeg: Build failed in windows with cygwin for Android

0

down vote

favorite





I have trying building ffmpeg for android using windows 7 and Cygwin. I have android-ndk-r9d.

I have download the source code from here

I have already set NDK environment variable. And updated TOOLCHAIN line to: TOOLCHAIN=echo $NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64 because linux folder not present.

After running ./build.sh command. I got following error:
arm-linux-androideabi-gcc is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

Help me to find out what I did wrong?