Re: Cant find headers. GCC 4.0.1/Mingw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux