delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/02/10:03:34

Date: Wed, 2 Feb 2000 13:58:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Nicolas Le Novere <nl223 AT cus DOT cam DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: -DPATH="msdos path" ?
In-Reply-To: <389803DD.1F7B9E01@cus.cam.ac.uk>
Message-ID: <Pine.SUN.3.91.1000202135202.23508E-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 2 Feb 2000, Nicolas Le Novere wrote:

> Here is an extract of the makefile
> 
> # Edit the following line to precise where to find the files containing 
> # the sets of nearest_neighbor parameters 
> NN_DIR=\"/usr/local/share/MELTING4/NNFILES/\"

The usual practice in the DJGPP ports is to replace the "/usr/local" 
prefix by the root of the DJGPP installation.  Since different people 
install DJGPP in different places, DJGPP v2.03 introduced a special 
feature, whereby any file name that begins with "/dev/env/DJDIR" will be 
expanded at run time to begin with the exact path name of the root of the 
DJGPP installation.

So I would suggest to replace the above line with this:

 NN_DIR=\"/dev/env/DJDIR/share/MELTING4/NNFILES/\"

> I tried
> NN_DIR = "c:\Program Files\melting4\nnfiles\ \"
> NN_DIR = "c:\\Program Files\\melting4\\nnfiles\\ \"
> 
> but nothing is working. 

You don't explain what does ``nothing is working'' mean.  I'm guessing 
that one of the problems is that you left an extra blank at the end of 
the string; it shouldn't be there.  Also, if you insist on using 
backslashes in Makefiles (it's generally a bad idea, see the file 
README.DOS in the Make distribution), you need to double each backslash, 
like you did in the second example above.  The first example most  
certainly will not work.

- Raw text -


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