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


> 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.


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