This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Chicken and eggs, aka. boot-gcc and real-gcc; why?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Jens Bauer" <jens at plustv dot dk>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 17 Oct 2011 14:06:29 -0700
- Subject: Re: Chicken and eggs, aka. boot-gcc and real-gcc; why?
- References: <20111016154059.680436283@smtp.em1.dk>
"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