The following packages are needed to compile the source.
- gcc
- g++
- binutils
To install these packages, simply slapt-get as a root
Create a simple hello.c program to test gcc.
#include <stdio.h>
int main() {
printf("hello world");
return 0;
}
save the program as hello.c
If everything goes fine, hello executable will be created.
- to see the "Hello world" message
There are no comments on this page. [Add comment]