Chicken and eggs, aka. boot-gcc and real-gcc; why?

Ian Lance Taylor iant@google.com
Mon Oct 17 21:06:00 GMT 2011


"Jens Bauer" <jens@plustv.dk> writes:

> What on earth does the cross-compiler need the library for; it cannot be linked to the library, right ??
> We have two different architectures, and linking two architectures would produce incorrect code.
> Actual question: If the cross-compiler is not linked to the library, how come the cross-compiler has to be rebuilt?

Building the cross-compiler builds runtime library support used by
generated code, and some of that runtime library support relies on the
library.

Ian



More information about the Gcc-help mailing list