[lfs-support] ln -sv ../usr/bin/cpp /lib
alexander.kapshuk at gmail.com
Tue Mar 20 07:50:53 PDT 2012
On Tue, Mar 20, 2012 at 4:39 PM, Rick Shelton <rick.shelton at gmail.com>wrote:
> On Tue, Mar 20, 2012 at 7:41 AM, Alexander Kapshuk
> <alexander.kapshuk at gmail.com> wrote:
> > While working on '6.17.1. Installation of GCC', I created and cd'd into
> > '/sources/gcc-build'. One of the instructions suggests creating this
> > symlink, 'ln -sv ../usr/bin/cpp /lib'. I assumed that I was supposed to
> > the command line while still in '/sources/gcc-build'. If that is the
> > shouldn't the command line be 'ln -sv ../../usr/bin/cpp'?
> When the ln command is given two paths, the current directory does not
> affect the result. The current directory only has an affect when there
> is only one path passed to the command.
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
So in other words, 'ln -sv ../usr/bin/cpp /lib' and 'ln -sv /usr/bin/cpp
/lib' are equivalent?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support