Introduction to Writing Makefiles

Introduction to Writing Makefiles

Writing Makefiles 1. Introduction to make and Makefile 1.1 The make Tool The <span>make</span> tool can automatically complete compilation tasks. These tasks include: If only a few source files have been modified, only recompile those specific source files; If a header file is modified, recompile all source files that include that header file. This automatic … Read more

System Testing AC5, AC6, IAR and GCC Debugging Effects

System Testing AC5, AC6, IAR and GCC Debugging Effects

First of all, I would like to thank everyone for their feedback on the last video. It was a very meaningful discussion. The performance of AC6 this time is astonishing; it can jump around even without optimization. 【Experiment Purpose】 The purpose is to test the debugging phenomena in the C environment with the same program … Read more

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