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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



27.1.2011 16:41, Kai Ruottu kirjoitti:

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...

Let's elaborate a little... The :

/home/marino/cross-android/work/build/./gcc/as

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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux