Error in glibc make

Dan Kegel dank@kegel.com
Sat Oct 18 20:51:00 GMT 2003


Manoj Verma, Noida wrote:
 > I am trying to build cross-compiler for "target=arm-linux",
 > "host=i686-pc-mingw32" on Win-2k, ...
 > [but glibc's make complains:] stddef.h: No such file or directory
 > ...
> I got rid of stddef.h errors by the fix suggested by Carlos.
...

For those like me who were wondering where Carlos's suggestion was,
it's at the end of Manoj's message:

> From: Carlos O'Donell [mailto:carlos@baldric.uwo.ca]
>  
> You need the target userspace headers aswell, not just the kernel
> headers. Try hacking around it by stealing the headers from an already
> built glibc and plunking /usr/include into $PREFIX/arm-linux/include.

That's a bit kludgy... why not use http://kegel.com/crosstool,
which builds gcc and glibc from scratch?  Or at least look at
how it does things; it might help you get past your next problems.

crosstool doesn't quite build properly on cygwin yet, but it's quite close.
- Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045



More information about the Libc-alpha mailing list