delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/07/14/01:08:28

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200107140508.HAA14176@father.ludd.luth.se>
Subject: Re: Comments on GCC 3.0 distribution
In-Reply-To: <005401c10c04$124ccc70$0a02a8c0@acceleron> from Andrew Cottrell at "Jul 14, 2001 11:26:55 am"
To: djgpp-workers AT delorie DOT com
Date: Sat, 14 Jul 2001 07:08:20 +0200 (MET DST)
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

According to Andrew Cottrell:
> I had a quick test on the Win2K box and performed the following quickn test:
> 1) Setup a symlink "ln -s d:\djgpp\bin\zip.exe d:\djgpp\bin\z.exe"
> 2) Execute zip.exe to ensure that the help was displayed
> 3) Execute z (or z.exe) and it worked the same as executing zip.exe
> 4) Files from the DJGPP bin directory were:
> 
> D:\djgpp\bin>ls -la --color z*.*
> -rwxr-xr-x   1 dosuser  root         2048 Jul 14 11:20 z.exe
> -rwxr-xr-x   1 dosuser  root        86868 Dec 24  1999 zip.exe
> 
> The ln.exe file is:
> -rwxr-xr-x   1 dosuser  root       133632 May 26  2000 ln.exe
> 
> Is the test above correct? Are there any other tests I should do to check
> that symlinks work fully under Win2K? Where do I find these tests?

No. A symlink would have size 510 or 511 (I've forgotten which one). A
size of 2048 means a DJGPP stub (the old way of simulating symlinks
for executables).

You'd need to rebuild ln.


Right,

						MartinS

- Raw text -


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