Kai Ruottu wrote:
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?
yes.
The arm assembler is located at:
/AFS/android-9-arm/cross219/bin/arm-android-eabi-as
/AFS/android-9-arm/cross219/arm-android-eabi/bin/as
(hardlinked)
Is the system assembler getting picked up instead of the new binutils one?
John