[Libav-user] configure script fails for cross-compiling
Vikas Sawant
vsawant at crestron.com
Tue Feb 5 17:23:42 CET 2013
Thanks, Carl!
I removed this option as you suggested:
> --as=arm-none-linux-gnueabi-as
added a few more and it worked. I do make and that compiles the libraries. Stripping failed, so I disabled it and I wanted to avoid assemblt code, so I disabled that too.
Here's the exact command that worked:
./configure --disable-runtime-cpudetect --enable-cross-compile --cc=arm-none-linux-gnueabi-gcc --arch=armv5te --disable-vfp --disable-armv6 --disable-armv6t2 --disable-neon --target-os=linux --enable-small --disable-debug --disable-asm --disable-yasm --disable-stripping --disable-everything
The next challenge for me is to make mplayer build accept the ffmpeg libraries I just built instead of building on its own.
Thanks,
Vikas
From: Vikas Sawant
Sent: Tuesday, February 05, 2013 10:30 AM
To: 'libav-user at ffmpeg.org'
Subject: configure script fails for cross-compiling
I'm trying to cross compile ffmpeg for the arm processor and run the following configure command:
./configure --enable-cross-compile --host-cc=/usr/bin/gcc --cc=arm-none-linux-gnueabi-gcc --as=arm-none-linux-gnueabi-as --nm=arm-none-linux-gnueabi-nm --ar=arm-none-linux-gnueabi-ar --disable-asm --disable-vfp --disable-armv6 --arch=armv5te --target-os=arm-linux --disable-yasm --disable-everything
But nothing happens. Compiling tools directory is included in the PATH, so that doesn't seem to be an issue. The script looks stuck somewhere. All it has generated is a 0 bytes a.out file and config.log. Here's how the tail of config.log looks like:
$ tail config.log
yadif_filter_deps=gpl
yasm=no
yasmexe_default=yasm
zerocodec_decoder_select=zlib
zlib_decoder_select=zlib
zlib_encoder_select=zlib
zmbv_decoder_select=zlib
zmbv_encoder_select=zlib
mktemp -u XXXXXX
T13966
Am I missing something in the configure script?
Thanks,
Vikas
This e-mail message and all attachments transmitted with it may contain legally privileged and confidential information intended solely for the use of the addressee. If you are not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, or other use of this message or its attachments is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130205/333eaa10/attachment.html>
More information about the Libav-user
mailing list