Cant find headers. GCC 4.0.1/Mingw
Chris Garrett
cgarrett@degarrah.com
Thu Aug 11 01:23:00 GMT 2005
Arturas Moskvinas wrote:
>>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.
>
>
>
I think that I was not clear enough. I am speaking about GCC system
directories only. You were not required to specify GCC include/lib paths
in the previous versions we have used. We have been using 3.4.1 on
Windows/Linux for sometime now without needing to specify include/lib
paths. Has this requirement changed for 4+?
Thanks
Chris
More information about the Gcc-help
mailing list