[GCC] quick way of making links when using --program-suffix="-3.2.3"

James Iwanek chthon at chthon-uk.com
Sat May 3 07:18:43 PDT 2003


the following code should make correct links when using a versioned gcc:
it could also be easily be made into a script for quick switching between
different versions of gcc....

for name in `ls -ah /usr/bin | grep -e -3.2.3` ; do
        ln -sf $name `echo $name | sed s/-3.2.3//`
done

-- 
Jay
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list