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

Ubuntu 17.10 Confirmed to Use Linux Kernel 4.13 and GCC 7.2

Ubuntu 17.10 Confirmed to Use Linux Kernel 4.13 and GCC 7.2

(Click the public account above to quickly follow) English: SOFTPEDIA, Translation: Open Source China Community www.oschina.net/news/88954/ubuntu-17-10-powered-by-linux-kernel-4-13-gcc-7-2 If you have good articles to submit, please click → here for details The upcoming Ubuntu 17.10 (Artful Aardvark) operating system is powered by the latest Linux Kernel 4.13 and will be included in the stable repository along with … Read more

Documenting a Crash Issue Caused by Missing Return in High Version GCC

Documenting a Crash Issue Caused by Missing Return in High Version GCC

1. Problem Phenomenon The code that runs normally on CentOS 7 crashes when compiled and run on CentOS 8. 2. Troubleshooting Process The crash occurred at a location in the test case that should not have been reached, so I first commented out that part of the code. It then crashed again after reaching the … Read more