This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |