delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/05/01/03:17:36

Date: Mon, 1 May 2000 11:58:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Prashant TR <prashant_tr AT yahoo DOT com>
cc: ams AT ludd DOT luth DOT se, djgpp-workers AT delorie DOT com
Subject: Re: Problem with symlinks?
In-Reply-To: <200005010234.HAA01012@vsnl.net.in>
Message-ID: <Pine.SUN.3.91.1000501115738.9191I-100000@is>
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

On Mon, 1 May 2000, Prashant TR wrote:

> > > Possibly, there's a bug in ln?
> > 
> > No, this is how hard links work. It's impossible to make hard links
> > across different partitions.
> > 
> > You probably want "ln -s" which makes symbolic links, which are
> > allowed to cross partition boundaries.
> 
> Both ln and ln -s don't work. I just tried this
> ln -s d:/djgpp/files/cpu.c c:/test/xyz and it still fails.

That's because "ln -s" only works on executable files, and only if
the source and destination are in the same directory.

You need to replace "ln" with "cp", somehow.  If the configure script
defines and uses LN_S, then say "LN_S='cp -p'" in config.site.
Otherwise, add a suitable line to the Sed script which edits the
configure script before it is run.

- Raw text -


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