delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/23/10:32:00

From: lhall AT rfk DOT com (Larry Hall)
Subject: Re: include path problems
23 Dec 1998 10:32:00 -0800 :
Message-ID: <3681022C.BB8BE531.cygnus.gnu-win32@rfk.com>
References: <1 DOT 5 DOT 4 DOT 32 DOT 19981223024643 DOT 00678180 AT lola DOT univ-lemans DOT fr>
Mime-Version: 1.0
To: Serguei DACHIAN <Serguei DOT Dachian AT univ-lemans DOT fr>
Cc: gnu-win32 AT cygnus DOT com


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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019