www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/29/17:05:56

Message-ID: <351ec412.flying-brick@flying-brick.caverock.net.nz>
From: Eric Gillespie <viking AT flying-brick DOT caverock DOT co DOT nz>
To: djgpp AT delorie DOT com
Date: Mon, 30 Mar 1998 09:58:41 NZT-12DST
Subject: Re: Can't Get GCC 2.8.0 to build?

ln -s ? I think I see why this doesn't work, and Robert's idea would work 
fine.  As I see it, (and have tested for myself) under MS-DOS/related dos'es 
ln -s creates a stub that points to the original file to EXECUTE: for 
example I tried this under OpenDOS:

     brick:/$ ln -s /usr/root/doglearn.txt doggie.txt
     f:/djgpp/bin/ln: cannot create symbolic link `doggie.txt' to
        `/usr/root/doglearn.txt': Improper link (EXDEV)

And when I tried it in the SAME directory as the file concerned, I got:

      brick:~$ ln -s /usr/root/doglearn.txt doggie.txt
      brick:~$

i.e. it worked, but instead of doggie.txt I got a doggie.exe instead (2048 
bytes, just the right size for the stub!)

That's just my $0.02 worth...
The Viking (sheesh, whoever thought programming was easy hasn't been in my 
mind in hte past few months!)


---
 /|   _,.:*^*:.,   |\  Cheers from the Viking family ... 
| |_/'  viking@ `\_| | including Marmalade - Running OpenDOS in Christchurch!
|    flying-brick    | $FunnyMail 5.38 C.S. Lewis:  If Man has no God,
 \_.caverock.net.nz_/  then where did Man's morals come from?

- Raw text -


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