Originally Posted by fmpfmpf
i am using Ubuntu 8.04
Please edit you profile to reflect this. Also, add in a location for you. This sort of thing helps you get better responces.
GCC=GNU Compiler Collection. It is used to compile C/C++ and other programs.
How do i know if my Linux has GCC?
You installed it. You normally know if you have installed something. Of course, you can also find out by trying to invoke it in a terminal, thus:
gcc: no input files
... so, gcc is installed. If it had said - bash: gcc: command not found - then gcc is not installed.
Ubuntu 8.04 does not have development tools by default. You install the main set with:
sudo apt-get install build-essential
How do i check my GCC version?
$ gcc --version
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
... so my version is 4.1.3
I take it you have tried to install something and got an error that it needs gcc version xyz?