Installing headers with 0.9.29 spawns gcc errors

Rob Landley rob at landley.net
Tue Jul 10 18:39:05 UTC 2007


On Tuesday 10 July 2007 08:58:30 Carmelo AMOROSO wrote:
> Mike Frysinger wrote:
> > On Friday 18 May 2007, Yann E. MORIN wrote:
> >> So, to build a cross-toolchain with uClibc, we need, in order:
> >
> > no
> >
> > the only header that gets generated is bits/sysnum.h and the only thing
> > that uses that is syscall.h ... which gcc doesnt use, so it isnt really
> > too much of an issue ...
>
> Hi Mike,
> I'd like to come back to this issue because I've fallen in the same
> problem while trying to build from scratch
> a cross gcc (for SH4).

Build in this order:

Binutils, gcc, linux "make headers_install", uClibc.

This is the same _solution_ I gave yann.  You don't need a C library to build 
binutils or gcc.  You need binutils and gcc to build a C library.

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.



More information about the uClibc mailing list