This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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...
is only a shell script created during configure and exec's the real 'as', the one which was found, probably '/usr/bin/as' which is an assembler for the native 'x86_64-aux-dragonfly2.8' system, not for the 'armv5-android-eabi' target!
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |