Are the gcc build files still needed after section 5.4?

Dan Nicholson dbn.lists at gmail.com
Mon Jun 5 18:37:12 PDT 2006


On 6/5/06, Randy McMurchy <lfs-user at mcmurchy.com> wrote:
> m at de-minimis.co.uk wrote these words on 06/05/06 20:12 CST:
>
> > mkdir -p alpha/beta/gamma/delta/epsilon/alpha/beta
> > echo pwd_version > alpha/beta/afile
> > ln -s alpha/beta/afile alpha/beta/gamma/delta/epsilon/link
> > ls -l alpha/beta/gamma/delta/epsilon/
> >
> > (Note:  A link was made to the file specified using the _current_ working
> > directory as the base for the relative address even though this behaviour
> > is other than that used in the LFS book.)
>
> No. You are wrong. The "current" directory (whatever the hell that
> may be, as I'm so confused to what you're trying to say) has
> *nothing to do with it*.

The working directory is important if the target is not an absolute
path.  That's why we always make them absolute paths in the book.  The
commands he's showing above will make a symbolic link at the location
${PWD}/alpha/beta/gamma/delta/epsilon/link.

--
Dan



More information about the lfs-support mailing list