Welcome to LQ.
I guess you mean "compile a c program by using the gcc compiler", like :
gcc file.c -o file
Answer : For gcc to work fully, a few more packages are required.
( libc6-dev etc.)
This command will take care of installing everything :
sudo apt-get install g++
.
Last edited by knudfl; 06-16-2012 at 08:15 AM.
|