Date: Fri, 8 May 1998 12:36:33 +0300 (IDT) From: Eli Zaretskii To: Andrew Ellem cc: djgpp AT delorie DOT com Subject: Re: Relative Pathnames In-Reply-To: <6isv1d$5ep$1@news2.tor.accglobal.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.