------- Comment #4 from pinskia at gcc dot gnu dot org  2006-09-18 06:36 -------

The root issue is that I don't have a libc for the target system.
And the bug is that mudflap tries to link something, and then fails
because it can't find crt1.o.

The idea is that you can build binutils for arm-linux, then gcc for
arm-linux, and then with these compile glibc for arm-linux.  That's the
idea of having a platform where you have the source code for everything,
right?  However, only the binutils part actually works.  gcc wants
header files from the target platform for libgcc (!?!?), and mudflap
wants object and library files, too.

And glibc won't cross compile unless you already have a libc for the
target platform, but that's not your fault.  I'm just mentioning it to
make clear what miserable shape we're in here.

Felix

---
You should try using crosstool which what is recommended to build a cross
compiler.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29102

Reply via email to