I am a former main-frame programmer who would like to learn C on my Kubuntu box.
The programming books that I have refer to the C compiler as 'cc' or 'gcc'. I have installed on my Kubuntu box the following:
gcc-4.0
gcc-4.0-base
gcc-4.0-doc
But I also have [NOT installed] the following:
gcc
gcc-3.3
gcc-3.3-base
gcc-3.4
gcc-3.4-base
gcc-3.4-doc
gcc-doc
I am presuming that gcc-4.0 is the latest and greatest, but that the others are for people who have some reason to use an earlier version.
Now assuming that all the above is true, how do I set up an 'alias' or 'link' to gcc-4.0 so that I can execute the command as 'cc' or 'gcc', rather than typing the command as 'gcc-4.0'?
Thanks for your encouragement; this is one great forum, and Kubuntu is one GREAT distro!
The programming books that I have refer to the C compiler as 'cc' or 'gcc'. I have installed on my Kubuntu box the following:
gcc-4.0
gcc-4.0-base
gcc-4.0-doc
But I also have [NOT installed] the following:
gcc
gcc-3.3
gcc-3.3-base
gcc-3.4
gcc-3.4-base
gcc-3.4-doc
gcc-doc
I am presuming that gcc-4.0 is the latest and greatest, but that the others are for people who have some reason to use an earlier version.
Now assuming that all the above is true, how do I set up an 'alias' or 'link' to gcc-4.0 so that I can execute the command as 'cc' or 'gcc', rather than typing the command as 'gcc-4.0'?
Thanks for your encouragement; this is one great forum, and Kubuntu is one GREAT distro!
Comment