delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/08/05:37:52

Date: Fri, 8 May 1998 12:36:33 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andrew Ellem <krand AT ican DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Relative Pathnames
In-Reply-To: <6isv1d$5ep$1@news2.tor.accglobal.net>
Message-ID: <Pine.SUN.3.91.980508123321.9473F-100000@is>
MIME-Version: 1.0

On Thu, 7 May 1998, Andrew Ellem wrote:

> I hope this isn't too off-topic...

It pertains to DJGPP library, so it is NOT off-topic.

> I'm in need of a function which converts absolute pathnames (i.e. 
> "d:/dj/bin/gcc.exe") to paths releative to a given directory  (i.e. 
>  ../gcc.exe").

There's no such function already in the library, unless I miss something. 
You will have to roll your own.

OTOH, if you explain what exactly do you need this for, maybe there's 
another solution to your original problem.

- Raw text -


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