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


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


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