Discussion:
[lfs-support] Install a Toolchain without using hard links
Michele Bucca
2018-05-09 10:55:12 UTC
Permalink
hi michele,
Rename 'ln.s' into 'ln' and put it inside a PATH directory inside your
home, don't overwrithe /bin/ln !
yes (and it's annoying), but! when you run bash again, it will overwrite
:) i assume there is some cache i don't know.
$ env | grep PATH
PATH=/home/rsm/bin:/usr/local/bin:/usr/bin:/bin
$ cp /bin/ln ~/bin
$ which ln
/bin/ln
Issue "rehash", so that the current $PATH is used. Then "which ln" would
return "/home/rsm/bin/ln"
$ bash
$ which ln
/home/rsm/bin/ln
Thanks for the tips, however what I meant for "don't overwrithe
/bin/ln !" was: do not copy the script in /bin/ln, do not overwrite
the actual binary or you will break your system. Thanks anyway. :)

Now I have another issue that is about cross-compiling. I've posted it
in clfs-support, if someone is subscibed to that mailing list I would
be glad if someone could help me, This would allow me to do something
really cool. I'll give more details when I succed ;)

In the meantime Thanks to all of you :)

-- Michele
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/
Loading...