EasyManua.ls Logo

ORANGE Pi 3B - Some Programming Language Tests Supported by Linux System; Debian Bullseye System

ORANGE Pi 3B
366 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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");

Table of Contents