Mail Archives: djgpp/1996/09/11/17:45:02
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 -