This is the mail archive of the crossgcc@sourceware.org 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] |
We started with 0.37. I'm willing to upgrade if there is compelling reason. We are trying to source control the tools, which is why I have not upgraded yet. I'll try re-building with your suggestion, and let you know the results. Thanks as always. -----Original Message----- From: daniel.r.kegel@gmail.com [mailto:daniel.r.kegel@gmail.com] On Behalf Of Dan Kegel Sent: Tuesday, March 14, 2006 3:09 PM To: Earl Olsen Cc: crossgcc maillist Subject: Re: Include path confusion On 3/14/06, Earl Olsen <earl.olsen@dilithiumnetworks.com> wrote: > I have built two [gcc-3.2.2] compilers with cross tools, one for Linux >2.4.21 and one for Linux 2.6.10. >... > When we compile a user module that includes <linux/i2c.h> with the > 2.4.21 compiler, > it correctly picks up the header from i386-linux/include/linux >directory. > The 2.6.10 compiler gets it from i386-linux/sys-include/linux >directory, and we get an error: > >/data/dntools/gnu-i386-linux-2.6.10-v2/i386-linux/sys-include/linux/con >fig.h:4:28: linux/autoconf.h: No such file or directory Sounds like in the case with the error, you're not using sanitized kernel headers. Try setting LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0 in the toolchain .dat file when running crosstool. Which version of crosstool are you using? -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |