delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/30/14:47:30

Date: Fri, 30 Jun 1995 20:06:24 +0100
From: Thomas Eifert <EIFERT AT reze-1 DOT rz DOT rwth-aachen DOT de>
Subject: Re: My own include directory (1.12m4)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: eifert AT rz DOT rwth-aachen DOT de
Organization: Rechenzentrum RWTH Aachen

>    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 -


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