unecessary symlinks or bad scripts?

Andrew Benton b3nt at ukonline.co.uk
Thu Aug 11 09:51:51 PDT 2005

Jeremy Huntwork wrote:
> In the chapter 6 build of gcc there are two symlinks made after 'make
> install':
> ln -s ../usr/bin/cpp /lib
> ln -s gcc /usr/bin/cc
> The LiveCD scripts currently error out because those commands fail. It
> appears that make install already does this, but again, I haven't looked
> closely enough to determine if that's really the case or if it's a fault
> with our scripts.
> Is someone in a position to verify that those symlinks are still
> necessary?

They are needed. In my build script I have
make install &&
ln -s ../usr/bin/cpp /lib &&
ln -s gcc /usr/bin/cc &&
cd .. &&
rm -rf gcc-3.4.4 &&
...and so on

More information about the lfs-dev mailing list