>>> Stefan Knoll <stefancknoll at gmail.com> schrieb am
18.04.2020 um 16:55 in
Nachricht
<11893_1592540904_5EEC3EE7_11893_303_1_CAHXczHmqO3v2et177=XiFe4VeE1iYmmNEFDoKaFO
FeNnDh_zA at mail.gmail.com>:> Hi.
>
> I am currently failing to cross compile opus.
> I would really appreciate if anyone with gcc experience could put me on the
> right track.
> I am attempting to compile opus 1.3.1 on for an ARMv7 single point hardware
> target.
> My command that I am using:
>
> ./configure --host=arm-none-eabi --build=x86_64-pc-linux-gnu
> --target=arm-none-eabi CFLAGS=-mthumb -mcpu=cortex-m4 -mfloat-abi=hard
>
> Please see attached config.log.
The problem seems to be "-V": Older gcc do not know that option, e.g.
gcc-4.8
on x86_64:> gcc -V
gcc: error: unrecognized command line option ā-Vā
gcc: fatal error: no input files
compilation terminated.
>
> Any assistance would be greatly appreciated
> Regard,
> Stefan