public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cant find headers. GCC 4.0.1/Mingw
@ 2005-08-10 21:54 Chris Garrett
  2005-08-10 22:09 ` Arturas Moskvinas
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Garrett @ 2005-08-10 21:54 UTC (permalink / raw)
  To: gcc-help

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 ?

Thank you

Chris


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cant find headers. GCC 4.0.1/Mingw
  2005-08-10 21:54 Cant find headers. GCC 4.0.1/Mingw Chris Garrett
@ 2005-08-10 22:09 ` Arturas Moskvinas
  2005-08-11  1:23   ` Chris Garrett
  0 siblings, 1 reply; 3+ messages in thread
From: Arturas Moskvinas @ 2005-08-10 22:09 UTC (permalink / raw)
  To: Chris Garrett; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Cant find headers. GCC 4.0.1/Mingw
  2005-08-10 22:09 ` Arturas Moskvinas
@ 2005-08-11  1:23   ` Chris Garrett
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Garrett @ 2005-08-11  1:23 UTC (permalink / raw)
  To: help-gcc

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-11  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10 21:54 Cant find headers. GCC 4.0.1/Mingw Chris Garrett
2005-08-10 22:09 ` Arturas Moskvinas
2005-08-11  1:23   ` Chris Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).