Date: Sat, 01 Jul 1995 15:43:18 +0100 From: Thomas Eifert 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 > > 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 ??? > > > > > > 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. I've further looked at my include problem: at home, I still use 1.11, and there simply appending another directory to the list (in setdjgpp.bat) worked fine. So obviously, I haven't understood yet the syntax of the djgpp.env - could one give me a hint ? TIA, Thomas