Why does libiberty have to build before a C library?
E. Weddington
eric@umginc.net
Tue Jun 10 17:03:00 GMT 2003
On 10 Jun 2003 at 12:39, Peter Barada wrote:
>
> >The AVR cross toolset apparently is one of the easiest to build, I think,
> >because of having it's own library. From what I've seen on the crossgcc list,
> >targets that use glibc (and possibly newlib) seem to be more difficult to
> >build. Any change that will make building cross toolsets *easier* would be
> >incredibly welcome.
>
> Neither glibc or newlib are the problme. The problem is that gcc
> needs headers to build libgcc that newlib or glibc have to supply.
> You can see how the chicken and egg problem starts since glibc needs a
> compiler to configure to a point to install headers....
>
Thanks for clarifying. I knew of *a* problem, just not quite the specifics. The
end result being, if this situation can be significantly helped in any way it
would certainly make a lot of people happier.
Interestingly, this is where the AVR toolset differs AFAIK. We can build a gcc
(w/ a libgcc) without having to supply headers from avr-libc.
Eric
More information about the Gcc
mailing list