构建开发环境
sudo apt-get update
sudo apt install gcc
sudo apt install g++
sudo apt-get install gdb
sudo apt-get install make
编写测试程序
#include <stdio.h>
int main() {
printf("Hello, world!\n");
return 0;
}
gcc -o hello_world hello_world.c
./hello_world