This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Error in glibc make
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: Dan Kegel <dank at kegel dot com>
- Cc: "Manoj Verma, Noida" <manojv at noida dot hcltech dot com>,crossgcc at sources dot redhat dot com, 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 15:49:43 -0400
- Subject: Re: Error in glibc make
- References: <E04CF3F88ACBD5119EFE00508BBB21210CDAAAED@exch-01.noida.hcltech.com> <3F9002B0.5000307@kegel.com>
On Fri, Oct 17, 2003 at 07:54:40AM -0700, Dan Kegel wrote:
> For those like me who were wondering where Carlos's suggestion was,
> it's at the end of Manoj's message:
>
> >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.
I must admit that crosstools does it the clean way, by getting glibc to
partially install the target headers with their appropriate
configuration. My suggestion to Manoj was indeed a quick and dirty
kludge.
c.