Mail Archives: djgpp-workers/2000/04/30/21:12:58
> 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 -