This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cant find headers. GCC 4.0.1/Mingw


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]