This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error in glibc make


Carlos O'Donell wrote:
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.

In Carlos's defence, his way is the only way to go when targeting systems which use a closed-source C library (e.g. Solaris). - Dan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]