This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Cant find headers. GCC 4.0.1/Mingw
- From: Arturas Moskvinas <arturas dot moskvinas at gmail dot com>
- To: Chris Garrett <cgarrett at degarrah dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 11 Aug 2005 01:09:11 +0300
- Subject: Re: Cant find headers. GCC 4.0.1/Mingw
- References: <42FA778E.9070206@degarrah.com>
> I have been testing 4.0.0 and 4.0.1 recently and noticed that I am
> required to add the gcc include/lib paths in order to compile/link. Is
> this a bug or a feature ?
It is not a bug and not a feature, simply you must set correct
environmental variables that's all. Why should compiler search whole
disk for a include file...
Here is environmental variables affecting GCC:
http://gcc.gnu.org/onlinedocs/gcc-4.0.1/gcc/Environment-Variables.html#Environment-Variables
Arturas M.