Learn to Use GDB for Code Debugging

Learn to Use GDB for Code Debugging

Introduction: Use the GNU Debugger to solve your code issues.                                        This article contains 6312 words, estimated reading time: 8 minutes https://linux.cn/article-13203-1.htmlAuthor: Seth KenlonTranslator: Xingyu.Wang The GNU Debugger, commonly referred to by its command gdb, is an … Read more

Running Hello World in Assembly Language on Android

Running Hello World in Assembly Language on Android

Principle of Ximen Chui Xue This article explains how to write a GNU ARM assembly program and run it on an Android phone. (1) Why Learn ARM Assembly? If learning is only done when needed, then nothing needs to be learned in advance. The situation of “learning when needed” often exists and makes sense; your … Read more

Mastering GNU Make: From Beginner to Expert

GNU Make: From Beginner to Expert Translated from: https://interrupt.memfault.com/blog/gnu-make-guidelines GNU Make is a popular and commonly used program for building C language software. It is used to build the Linux kernel and other commonly used GNU/Linux programs and software libraries. Most embedded software developers will use GNU Make at some point in their careers, either … Read more

10 Essential Linux Concepts Every Beginner Should Know

10 essential Linux concepts that every beginner must master. It is said that understanding more than 8 of them is considered passing.?Without further ado, let’s get started with the learning! 1 GNU and GPL The GNU Project (also known as the GNU Project) was publicly launched by Richard Stallman on September 27, 1983, as a … Read more

Understanding ARM Assembly and ARM GNU Assembly

Understanding ARM Assembly and ARM GNU Assembly

1. Two Ways of ARM Assembly Development ARM assembly development refers to the use of ARM-provided assembly instructions for ARM program development. There are two ways of ARM assembly development: one is using ARM assembly, and the other is using ARM GNU assembly. The assembly instructions used in both development methods are exactly the same; … Read more

Practical Debugging Techniques for Makefile

Practical Debugging Techniques for Makefile

In the previous sections, we discussed the basic rules, functions, and patterns of makefiles. When writing makefiles in practice, we often encounter various issues. How can we quickly and effectively solve these problems? Here, I will introduce several common techniques to help us better handle and resolve the issues we encounter. MakefileDebugging Technique1 During the … Read more

Makefile Learning Part II: Commands and Variables

Makefile Learning Part II: Commands and Variables

Follow for more updates, let’s go From Zero To Hero! Introduction In Go language development, we want to standardize code style so that each member can format code with one click and check for syntax errors; we want to run unit tests, generate test reports, and compile, package, and release projects with one click, which … Read more

C Compilation Makefile

C Compilation Makefile

Public awareness of information security, enlightenment of information security knowledge. Add WeChat group reply to public account: WeChat group; QQ group: 16004488 Joining the WeChat group or QQ group can get: Learning Tutorial When compiling a large project, there are often many target files, library files, header files, and the final executable file. There are … Read more

Mastering Makefile: A Comprehensive Guide

Mastering Makefile: A Comprehensive Guide

1What is Makefile In the previous study of compiling C programs, we learned that compiling a program is relatively simple. However, if we need to compile multiple files or files in different folders, we need to generate different library files and determine the compilation order of these files, which often requires many complex command lines … Read more

Understanding Makefile: A Tool Language for GNU GCC Compilation

Understanding Makefile: A Tool Language for GNU GCC Compilation

Click aboveLinux Community to follow us Abstract: This article mainly introduces makefile, a commonly used tool language for GNU GCC compilation. LiteOS also uses this file to build project files and generate executable files. In the LiteOS source code, makefile is used for batch processing compilation and linking to generate files. When designing a project … Read more