cross-compiler build failed at libgcc, what is error message saying?

Kai Ruottu kai.ruottu@wippies.com
Thu Jan 27 14:42:00 GMT 2011


27.1.2011 16:14, John Marino kirjoitti:
> While building a cross compiler (target Android), the process stopped at
> the libgcc build where it checks if the new compiler can produce
> executables. This is the error message:
>
> /home/marino/cross-android/work/build/./gcc/as -march=armv5te
> -mfloat-abi=soft -mfpu=vfp -meabi=5 -o test.o /tmp//ccHEgv0T.s
> exec: -march=armv5te: not found

(The message changed to more sane one)

> What does that mean?

That the error came from 'as', not from 'gcc' or 'cc1'. Assembler
is not a GCC component but one of the GNU binutils parts...

> What's not found?

Most probably an 'as' for your 'armv5-android-eabi' target. Did
you build and install the GNU binutils for 'armv5-android-eabi'
earlier?



More information about the Gcc-help mailing list