www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/11/17:45:02

Xref: news2.mv.net comp.os.msdos.djgpp:8511
From: simma AT ix DOT netcom DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Additional include directories
Date: Wed, 11 Sep 1996 00:32:01 GMT
Organization: Netcom
Lines: 27
Message-ID: <3235f343.229147@nntp.ix.netcom.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960908130349 DOT 6019A-100000 AT is>
NNTP-Posting-Host: cor-ca2-55.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Sun, 8 Sep 1996 11:13:27 GMT, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
wrote:

>
>On Fri, 6 Sep 1996, Alf Stockton wrote:
>
>> I want gcc, or rather the preprocessor, to find my #include files in a
>> subdirectory other than the normal setup in DJGPP.ENV and so I altered the
>> C_INCLUDE_PATH line in DJGPP.ENV to the following :-
>> C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/incl
>> ude;d:\dev\gcc\panelp.213\include
>> but for some reason cpp cannot locate files in d:\dev\gcc\panelp.213\include.
>> 
>> What have I done wrong ?
>
>From your description it seems you did nothing wrong.  Please post the 
>minimal source file that exhibits the problem, and everything GCC prints 
>when you add -v to the command line you use to compile.  This info should 
>unlock the cause of your problem.

This is C_INCLUDE_PATH, and you sould modify CPLUS_INCLUDE_PATH.  The
prev would work for c progs but not for c++.
                    
                                 Alex 

The mistake you make is in trying to figure it out.
--  TENESSEE WILLIAMS 

- Raw text -


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