building native cross compiler

Ian Lance Taylor iant@google.com
Mon Mar 14 02:01:00 GMT 2011


Michael Zintakis <michael.zintakis@googlemail.com> writes:

> I see ar, ranlib and strip have been picked up from the binutils
> directory though the error is exactly the same as before - line 83
> exec not found (what exec id doesn't say). So, I presume I have to
> build binutils first and place the executables in prefix/target/bin,
> right?

Yes, which should happen automatically if you configure the binutils
with the identical --target and --prefix options that you use when you
configure gcc.  When you run "make; make install" the binutils should be
installed where gcc expects to find them.

Ian



More information about the Gcc-help mailing list