Compiling Software

I have a problem, my mate built me a little home server using Unix and after he set everything up he deleted the main compiler so i wouldnt be able to Install/Compile any software...

And now i wanted to Install a compiler and i have to compile it...

thats like installing winzip from a zip file lol

Please help, iv asked people on chat etc but they all just say i have to start from scratch again...

... its Linux 2.2.20

I actually don't think there are GCC binaries available for Linux there...

What distribution are you using?

Wouldn't it just be easier to grab the appropriate package for whichever distro of Linux you are using??

For instance, a good place to start would be the website of whichever distro you are using.