Mail Archives: djgpp/1995/06/30/14:47:30
> Hi all,
>
> I've spent a time building a math library, and now I want to put the
> associated .h-files into a separate directory. I added this to the
> C_INCLUDE_PATH, and tried - won't work.
> The "tryit" program (samples\hello) revealed that the path setting was
> relative, i.e. with a leading "..\..\", not the full DJGPP based path.
>
> ==> what did I miss in the djgpp.env ???
>
> TIA,
> Thomas Eifert
>
> I'm not home to check this, but, in most places the DJGPP internals do not like
> DOS's backslashes (\), it is the command line parser which accepts them and
> translates them to forward slashes (/) so in djgpp.env variables you need to
> use forward slash (ie: /mydir/myincl rather than \mydir\myincl). This may be
> the problem.
>
> --
In the djgpp.env file, I appended %DJGPP%/mydir to the C_INLUDE_PATH
Thomas
- Raw text -