Date: Sat, 14 Jul 2001 10:07:42 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Andrew Cottrell" Message-Id: <1438-Sat14Jul2001100741+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <005401c10c04$124ccc70$0a02a8c0@acceleron> (acottrel@ihug.com.au) Subject: Re: Comments on GCC 3.0 distribution References: <2427-Wed11Jul2001195622+0300-eliz AT is DOT elta DOT co DOT il> <3B4DF103 DOT 11332 DOT D60645 AT localhost> <2593-Thu12Jul2001220335+0300-eliz AT is DOT elta DOT co DOT il> <005401c10c04$124ccc70$0a02a8c0 AT acceleron> 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 Precedence: bulk > From: "Andrew Cottrell" > Date: Sat, 14 Jul 2001 11:26:55 +1000 > > 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? In addition to using ln.exe built with CVS libc, as Martin said, you should test this with files that are not programs. Functions such as open, opendir, remove, rename, etc. should DTRT with symlinks. Compiling and linking a bunch of files in a directory that is a symlink might test quite a few of these functions. In fact, you could try making the DJGPP installation directory be a symlink, and see if anything breaks, but that requires that you rebuild _everything_ with CVS libc. Note that invoking programs that are symlinks (in the v2.04 sense of that) will only work from a DJGPP program compiled with CVS libc. DOS, of course, knows nothing about symlinks.