delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/05/30/01:37:08

Sender: bill AT taniwha DOT tssc DOT co DOT nz
Message-ID: <356F9AF1.1E98D297@taniwha.tssc.co.nz>
Date: Sat, 30 May 1998 17:36:50 +1200
From: Bill Currie <bill AT taniwha DOT tssc DOT co DOT nz>
MIME-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>, djgpp-workers AT delorie DOT com
Subject: Re: Links to links
References: <199805300030 DOT UAA27813 AT delorie DOT com>

DJ Delorie wrote:
> 
> > 1. Make the stub exec `loadname', instead of loading directly from it. I
> 
> Too complex.  The stub's symlink facilities are very crude; they were
> designed to handle the simple cases like fgrep/grep.  If you want real
> symbolic links, install Linux.

Actually, I have a symlink/alias program sort of inspired by the stub's
crudeness.

> > 2. Make `symlink' fail if it tries to create a link to a link. How that
> 
> Can't.  The target file might not yet exist, or might change in the
> future.  We have to rely on it dealing with the runtime conditions.

Hmm, can't remember what my program does if the file doesn't exist,
probably barfs (meaningfully).
 
> Yes.  Perhaps the symlink program could print a *warning* if it can't
> prove the target is a COFF program, but I think that's the best we can
> do.

Mine works with .exe and .com files (coff files need to be stubbed).  It
uses gcc for the program that makes the link and djasm (un-modified?)
for the actual link.

Now the important bits:).  I would kind of like this to become part of
the standard distribution (ie in djdev) but that's not required.  If it
does become part of the distribution, what licensing should it have?
GPL?  If it's not part of the distribution, it will definitly be GPL.

Also, I can no longer do uploads via FTP.  How should I get the package
to you?  It's small, just over 2k total (very simple:), so I mailing the
source directly is a posibility if there's no objections.

Bill
-- 
Leave others their otherness.

- Raw text -


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