If you don't already have a working C compiler, then you're going to be unable to compile gcc from source.
Go to rpmfind.net and download the package for your distribution (if one exists) - then install with rpm. This assumes an rpm based distro
. You can use apt-get, yum, whatever, too....
You might also find an earlier version of gcc on your distribution media that will allow you to install gcc 3.0 from source. The current stable release of gcc is 3.4.3, just for info.
Check out the documentation
here
Cheers
ZB