This is the mail archive of the
mailing list for the glibc project.
Re: Error in glibc make
- From: Dan Kegel <dank at kegel dot com>
- To: "Manoj Verma, Noida" <manojv at noida dot hcltech dot com>
- Cc: crossgcc at sources dot redhat dot com, Carlos O'Donell <carlos at baldric dot uwo dot ca>, libc-alpha at sources dot redhat dot com, Bill Gatliff <bgat at billgatliff dot com>, Kai Ruottu <kai dot ruottu at luukku dot com>,Dan Kegel <dkegel at ixiacom dot com>
- Date: Fri, 17 Oct 2003 07:54:40 -0700
- Subject: Re: Error in glibc make
- References: <E04CF3F88ACBD5119EFE00508BBB21210CDAAAED@exch-01.noida.hcltech.com>
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:email@example.com]
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.