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] |
On Tue, 2004-09-07 at 12:44, Jean-Christophe Dubois wrote: > On Tue, 2004-09-07 at 13:02, Alex Bennee wrote: > > > > How do you overide the built-in include path in GCC? When I add the > > -I<path/to/sanitised/headers> it still fails from including the old > > kernel ones glibc was built with. > > did you try -nostdinc (if I understand your question correctly)? > > http://gcc.gnu.org/onlinedocs/gcc-3.4.1/gcc/Preprocessor-Options.html#Preprocessor%20Options Yeah, that works. The only problem being I also need the glibc includes which are hardwired into gcc. I'll hack round it by copying the glibc includes into my spare include dir across and then enabling -nostdinc for the "special" tools. Maybe crosstool should replace the kernel headers with the sanitised ones after it has built glibc? -- Alex, Kernel Hacker: http://www.bennee.com/~alex/ The moving cursor writes, and having written, blinks on. ------ 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] |