range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
244
3.24. Some programming language tests supported by Linux
system
3.24.1. Debian Bullseye system
1) Debian Bullseye has a gcc compilation tool chain installed by default, which can
directly compile C language programs in the Linux system of the development board
a. The version of gcc is as follows
orangepi@orangepi:~$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
b. Write C language of Hello_world.c program
orangepi@orangepi:~$ vim hello_world.c
#include <stdio.h>
int main(void)
{
printf("Hello World!\n");