Embedded C/C++ Specialized Test Questions

Embedded C/C++ Specialized Test Questions

As we all know, embedded engineers are currently a popular position. However, finding a high-paying job in the embedded field is not so easy, especially since some companies’ interview questions are often bizarre. To address this issue, Huqing Yuanjian has compiled some specialized test questions related to embedded C/C++, hoping to help everyone. A friendly … Read more

GCC Magic Programming: From Idiom Games to Poetry Generation

GCC Magic Programming: From Idiom Games to Poetry Generation

In this era where technology intertwines with culture, programming is not only an art of technology but also a bridge connecting tradition and the future.Today, we will embark on a magical programming journey with the GCC compiler, traveling from idiom games to poetry generation, and finally to industrial control applications.This is not just a feast … Read more

Setting GCC Version When Installing VASP on Ubuntu

Setting GCC Version When Installing VASP on Ubuntu

Currently, supercomputing servers and individual servers are increasingly using the Ubuntu system, especially after the CentOS7 system, which is widely used, has stopped updating. When using the Windows system’s built-in subsystem for computational practice, the installation and acquisition of Ubuntu are more convenient and straightforward. Installing VASP in the initial environment of Ubuntu requires configuring … Read more

Upgrading GCC on CentOS 7.9

Upgrading GCC on CentOS 7.9

CentOS provides the Devtoolset toolchain, which allows for the easy installation and activation of newer GCC versions. 1. Install the SCL (Software Collections) repository Execute the following command to enable SCL: yum install centos-release-scl -y 2. Install the Devtoolset. If an error occurs, you can first replace the Aliyun source. Taking the installation of GCC … Read more

Understanding the Relationship Between GCC, CMake, Make, and Ninja

Understanding the Relationship Between GCC, CMake, Make, and Ninja

1. The Birth of GCC! In 1985, on a dark night where one could hardly see their hand in front of their face, a bearded, short-statured man with long, unkempt hair began to write a C language compiler. This man later became known as the “greatest programmer” and the “father of free software,” Richard Stallman. … Read more

GCC Programming: An Overview of Languages and Libraries

GCC Programming: An Overview of Languages and Libraries

GCC programming refers to programming languages based on the GCC compiler. You can design programs in any language that GCC supports. As can be seen from the image above, GCC programming involves the integration of three major languages under the LINUX system: C, C++, and assembly (ASM). The C language involves differences between the standard … Read more

Is Clang Better Than GCC? Google’s Kernel Developers Build Kernel with Clang

Is Clang Better Than GCC? Google's Kernel Developers Build Kernel with Clang

(Click the public account above to follow quickly) Source: Solidot www.solidot.org/story?sid=54012 If you have good articles to submit, please click → here for details At the Linux Plumbers Conference, Google’s kernel developers Greg Kroah-Hartman and Nick Desaulniers presented the progress of building the kernel with Clang. Desaulniers stated that today’s Android user space is built … Read more

Exploring the Rust Compiler: GCC vs LLVM

Exploring the Rust Compiler: GCC vs LLVM

The Rust compiler uses a borrow checker to optimize code performance and memory management. Rust code is compiled using the official compiler rustc. rustc uses LLVM optimizations on the backend to convert high-level Rust code into low-level machine code. However, a new GCC frontend called gccrs has recently emerged as an alternative to the rustc … Read more

Understanding GCC From a Java Programmer’s Perspective

Understanding GCC From a Java Programmer's Perspective

Source | Low Concurrency Programming Author | Flash Player As a Java programmer, I always forget the basic usage of gcc and am not very familiar with it. Today, this article records the basic knowledge of gcc in the simplest way. The Compilation Process Write a hello.c code. #include <stdio.h> #define STR "hello world\n" void … Read more