[FFmpeg-user] arm-linux-gnueabi-gcc is unable to create an executable file.
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Dec 7 03:05:15 EET 2018
2018-12-07 1:46 GMT+01:00, Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2018-12-07 1:19 GMT+01:00, Code Wiget <codewiget95 at gmail.com>:
>> Hi. I’m having trouble cross compiling for a Mangoh Red…
>>
>> I found a post
>> here: https://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027612.html
>> where
>> someone else had a similar issue, but this command doesn’t work. For some
>> reason, it is saying that my c compiler "is unable to create an
>> executable
>> file”. I’ve built many programs with this CC, it came straight from
>> linaro
>> so that is not the issue.
>>
>> Here is my command
>>
>>> ./configure --enable-cross-compile
>>> --cross-prefix=/home/codewiget/repos/tools/linaro/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-
>>> --arch=armel --target-os=linux --enable-gpl --enable-libx264
>>> --enable-nonfree --extra-libs=-ldl --enable-gpl
>
> Please confirm that you are testing current FFmpeg git head, remove
> --enable-nonfree (you don't want it), and try --cpu=armv7-m, if that
> doesn't work try --cpu=armv7
Or perhaps actually --cpu=cortex-m4
> You can also remove --enable-cross-compile to simplify the
> configure line.
Carl Eugen
More information about the ffmpeg-user
mailing list