delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/30/21:12:58

Date: Mon, 1 May 2000 07:34:00 +0500
Message-Id: <200005010234.HAA01012@vsnl.net.in>
From: Prashant TR <prashant_tr AT yahoo DOT com>
To: ams AT ludd DOT luth DOT se
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200004302211.AAA13767@father.ludd.luth.se> (message from Martin
Str|mberg on Mon, 1 May 2000 00:11:08 +0200 (MET DST))
Subject: Re: Problem with symlinks?
References: <200004302211 DOT AAA13767 AT father DOT ludd DOT luth DOT se>
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

> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Mon, 1 May 2000 00:11:08 +0200 (MET DST)
> 
> > ----
> > creating tests/test/Makefile
> > creating config.h
> > linking d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h to intl/libintl.h
> > d:/djgpp/bin/ln: cannot create hard link `intl/libintl.h' to `d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h': Improper link (EXDEV)
> > configure: error: cannot link intl/libintl.h to d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h
> > ----
> > 
> > Trying ln d:/prj/shutils/gnu/sh-util2.0g/intl/libgettext.h intl/libintl.h
> > manually, I got the same error. In fact, that was what the configure script
> > was trying to do.
> > 
> > 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.
On the same drives, they work fine. Tried /dev/d and
/dev/c too, but that doesn't work either.

- Raw text -


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