This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: include path problems
- To: Serguei DACHIAN <Serguei dot Dachian at univ-lemans dot fr>
- Subject: Re: include path problems
- From: Larry Hall <lhall at rfk dot com>
- Date: Wed, 23 Dec 1998 09:46:04 -0500
- CC: gnu-win32 at cygnus dot com
- References: <1.5.4.32.19981223024643.00678180@lola.univ-lemans.fr>
Serguei DACHIAN wrote:
>
> Hi everybody.
>
> I have a little problem with include paths. My config is
> Win98French+CygWinB20.1. If I put some headers in "/usr/include", g++ (and
> I suppose gcc too) find them without any additional flags. But if I put
> them in "/usr/local/include" it don't find them!!! This is not the case of
> the linker, since it finds well the libraries both in "/usr/lib" and
> "/usr/local/lib". Is this a bug or an intention??? Is there any way to
> correct this behaviour?
>
> BTW, in order to correct this, I have tried to set the environment variable
> "C_INCLUDE_PATH" (as it would be done under unix), but apparently this
> variable is simply ignored by g++!!! Why???
>
> Thanks in advance for any help.
>
> Serguei.
>
Use CPLUS_INCLUDE_PATH for g++.
Larry
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".