https://www.tamacom.com/pathconvert.html
This is old stuff, but I wanted to check it out nonetheless.
Adding a relative path flag to ln.
Doesn't seem to work.
-
2017-01-19 update - This was adopted into the FreeBSD core as of 2016-11-23. Yay!
Table of Contents [hide]
bsdln ∞
Compiled like so, with gcc 4.1.1:
gcc bsdln/ln.c -x none -o bsdln
Seems to run. But that's not what I want..
gnuln 3.16 ∞
[ 1 ] Archives of fileutils used to be at www.filewatcher.com/m/fileutils-3.16.tar.gz.856021.0.0.html (not archived)
wget tamacom.com/pathconvert/pathconvert.tar.gz tar xvf pathconvert.tar.gz cd pathconvert/gnuln/ wget ftp://ftp.uni-hannover.de/pub/mirror/gnu/old-gnu/fileutils/fileutils-3.16.tar.gz tar xvf fileutils-3.16.tar.gz cp ../lib/abs2rel.c ../lib/rel2abs.c fileutils-3.16/lib cp Makefile.in fileutils-3.16/lib cp ln.c fileutils-3.16/src cp ln.1 fileutils-3.16/man cd fileutils-3.16 ./configure make
gives me:
Spoiler
make all-recursive make[1]: Entering directory `/path/to/pathconvert/gnuln/fileutils-3.16' Making all in lib make[2]: Entering directory `/path/to/pathconvert/gnuln/fileutils-3.16/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2 -c userspec.c userspec.c:88: error: expected identifier or ‘(’ before ‘__extension__’ make[2]: *** [userspec.o] Error 1 make[2]: Leaving directory `/path/to/pathconvert/gnuln/fileutils-3.16/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/path/to/pathconvert/gnuln/fileutils-3.16' make: *** [all-recursive-am] Error 2
I presume my version of GCC is being picky. Oh well, I give up.
Footnotes
^ 1 | Archives of fileutils used to be at www.filewatcher.com/m/fileutils-3.16.tar.gz.856021.0.0.html (not archived) |
Last updated 2019-12-05 at 12:28:39
dusted off a little