This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: newbie looking to add include files
- From: John Love-Jensen <eljay at adobe dot com>
- To: Mark Petryk <mark at lorimarksolutions dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 04 Feb 2003 12:01:57 -0600
- Subject: Re: newbie looking to add include files
Hi Mark,
You need to rebuild GCC on your platform. There's a mechanism by which you
can specify (or override) GCC's default include path(s).
I don't have the info at hand, but you can find it on the GCC website.
However, I strongly recommend that you do not do what you are suggesting.
It's far more preferable to do "g++ -I/usr/include/myfiles" in your
Makefile, than it is to put that kind of cruft in the GCC build itself.
Sincerely,
--Eljay