Overview of Embedded Toolchain Tools

Overview of Embedded Toolchain Tools

Introduction This article summarizes and organizes some rules and principles of toolchains, providing a reference for everyone when using toolchains across platforms in the future. It explains how to understand the meaning of <span><span>arm</span></span><span><span>-</span></span><span><span>none</span></span><span><span>-</span></span><span><span>eabi</span></span><span><span>-</span></span><span><span>gcc</span></span> and how to quickly identify which compiler to use. Of course, if there are any inaccuracies in the writing, feel free … Read more

Understanding gcc and g++ Compilers in Linux for Informatics Competitions

Understanding gcc and g++ Compilers in Linux for Informatics Competitions

Students, in the world of Linux, the gcc and g++ compilers are like “super craftsmen” in programming for informatics competitions, capable of “polishing” our written code into instructions that the computer can understand. Next, let’s delve into the usage of these two “super craftsmen”. gcc Compiler (primarily for C language) 1. Basic Compilation: Suppose you … Read more

Usage of -fstack-usage in GCC Toolchain

Usage of -fstack-usage in GCC Toolchain

-fstack-usage is an option provided by GCC (GNU Compiler Collection) that helps developers analyze and optimize the stack memory usage of their code. It generates a stack usage report for each function during the compilation process and saves the information to a .su file. This option is particularly useful for embedded system development, where stack … Read more

LWN: Progress on GCC BPF Support!

LWN: Progress on GCC BPF Support!

Follow us to see more great articles like this! An update on GCC BPF support By Daroc AldenApril 2, 2025LSFMM+BPFGemini-1.5-flash translationhttps://lwn.net/Articles/1015747/ José Marchesi and David Faust opened a session on BPF (Berkeley Packet Filter) at the 2025 Linux Storage, Filesystems, Memory Management, and BPF Summit, where they presented a lengthy discussion on their work to … Read more

Comprehensive Analysis of Static and Dynamic Libraries! Make Your Linux More Efficient and Intelligent!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with 1000 members, note 【Public Account】 for faster approval 1. Basic Concepts of Static and Dynamic Libraries A library is a collection of pre-written, reusable code that exists in binary form and can be loaded into memory … Read more

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language

Compiler Optimization Options: Analyzing GCC Optimization Parameters in C Language In C language development, the choice and use of the compiler are crucial. GCC (GNU Compiler Collection) is one of the most commonly used open-source compilers, providing a range of optimization options to improve the execution efficiency of generated code and reduce compilation time. This … Read more

Solutions for GCC Errors

Solutions for GCC Errors

This error indicates that the system cannot recognize the gcc command, which is usually due to the GCC compiler not being installed or not being added to the system PATH environment variable. Here are the solutions: ### 1. Install MinGW-w64 (GCC environment for Windows) “`bash # 1. Download the MinGW-w64 installer # Visit https://winlibs.com/ to … Read more

Introduction to C Language: Starting Your Programming Journey with Hello World

Introduction to C Language: Starting Your Programming Journey with Hello World

Introduction to C Language: Starting Your Programming Journey with Hello World Introduction The C language is a general-purpose programming language widely used for system software and application development. Learning C is an important milestone for every programmer, as it not only provides a robust programming foundation but also helps you understand how computers work. In … Read more

GCC Compiler Toolchain Download and Installation Guide

GCC Compiler Toolchain Download and Installation Guide

The GCC embedded system cross-compilation toolchain (GNU Arm Embedded Toolchain) includes: the Windows version of ARM-GCC, debugger (OpenOCD), make tools, and programming tools. I have shared “arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi.exe” via Quark Cloud Disk; click the link to save it. Link: https://pan.quark.cn/s/318d63030760 The option “Add path to environment variable” is not checked by default; please check it here. … Read more