Tagged articles
57 articles
Page 1 of 1
Old Zhang's AI Learning
Old Zhang's AI Learning
Jan 28, 2026 · Artificial Intelligence

How to Deploy DeepSeek‑OCR‑2 Locally: A Hands‑On Walkthrough

The article details a step‑by‑step local deployment of DeepSeek‑OCR‑2, covering GPU memory requirements, accuracy on complex tables, long inference times, dependency hurdles like GCC, GLIBC and flash‑attn, and provides concrete solutions using conda environments and symlinks.

CondaDeepSeek-OCR 2Deployment
0 likes · 7 min read
How to Deploy DeepSeek‑OCR‑2 Locally: A Hands‑On Walkthrough
dbaplus Community
dbaplus Community
Dec 27, 2025 · Fundamentals

How Compilers Evolved from Assembly to LLVM: A 60‑Year Journey

From the painful days of hand‑written assembly to the birth of Fortran, the rise of GCC, and the modular revolution of LLVM, this article traces six decades of compiler history, highlighting key breakthroughs, influential figures, and the lasting impact on modern software development.

FortranLLVMcompilers
0 likes · 6 min read
How Compilers Evolved from Assembly to LLVM: A 60‑Year Journey
AI Info Trend
AI Info Trend
Dec 1, 2025 · Industry Insights

Why GCC Nations Pour Money into AI Yet Struggle to Scale Value

McKinsey’s latest report reveals that Gulf Cooperation Council (GCC) countries are heavily investing in AI infrastructure, achieving high adoption rates, but only a small fraction of firms have scaled AI projects to generate measurable value, highlighting gaps in strategy, talent, and change management.

AI adoptionAI agentsAI strategy
0 likes · 7 min read
Why GCC Nations Pour Money into AI Yet Struggle to Scale Value
21CTO
21CTO
Nov 29, 2025 · Fundamentals

Why GCC’s Switch to C++20 Matters for Every C++ Developer

GCC has officially made C++20 the default language standard, a shift that reshapes codebases, tooling, and developer habits, requiring both newcomers and seasoned programmers to adapt to new features like modules, concepts, and coroutines while managing potential build issues.

C++20c++compiler
0 likes · 5 min read
Why GCC’s Switch to C++20 Matters for Every C++ Developer
Liangxu Linux
Liangxu Linux
Oct 12, 2025 · Fundamentals

Mastering Strong and Weak Functions in C for Flexible Embedded Design

This article explains the concept of strong and weak functions in C, shows how to declare them with GCC and other compilers, outlines the linker selection rules, and demonstrates practical uses such as library overrides, interrupt handlers, callbacks, test stubs, plugin systems, and related pitfalls.

Linkerc++embedded
0 likes · 9 min read
Mastering Strong and Weak Functions in C for Flexible Embedded Design
Code Mala Tang
Code Mala Tang
Aug 24, 2025 · Backend Development

Can You Trust Your Compiler? Discover Hidden Bugs and Protection Tips

This article examines why compilers can be unreliable, explains how optimization errors, undefined‑behavior assumptions, and hardware‑specific code generation can introduce subtle bugs, presents real‑world examples from GCC, MSVC and Clang, and offers practical strategies to detect and avoid such compiler faults.

MSVCUndefined Behaviorc++
0 likes · 14 min read
Can You Trust Your Compiler? Discover Hidden Bugs and Protection Tips
php Courses
php Courses
Jul 4, 2025 · Fundamentals

Set Up a Powerful C++ Development Environment for Windows, Linux, macOS

This guide walks you through installing and configuring four major C++ development tools—Visual Studio, GCC, Clang, and CMake—covering platform-specific steps for Windows, Linux, and macOS, and highlights each tool’s advantages to help you choose the right environment for your projects.

CMakeClangDevelopment Environment
0 likes · 6 min read
Set Up a Powerful C++ Development Environment for Windows, Linux, macOS
Liangxu Linux
Liangxu Linux
Mar 15, 2025 · Fundamentals

How to Quickly Set Up a Full Linux C/C++ Development Environment

This step‑by‑step guide shows how to choose a Linux distribution, install GCC, configure Vim/VS Code/CLion, compile and run C/C++ programs, set up debugging with GDB and Valgrind, automate builds with Makefile or CMake, beautify the terminal, and manage code with Git, all with concrete commands and examples.

C++Development EnvironmentGit
0 likes · 15 min read
How to Quickly Set Up a Full Linux C/C++ Development Environment
Infra Learning Club
Infra Learning Club
Feb 22, 2025 · Fundamentals

Understanding NVCC Compilation: A Step‑by‑Step Technical Guide

This article walks through the NVCC compilation pipeline, explaining how CUDA source files are transformed into host and device binaries, detailing file extensions, compilation stages, command‑line options, intermediate artifacts, and the role of registration functions such as __nv_cudaEntityRegisterCallback and __sti____cudaRegisterAll.

CUDACompilationGPU
0 likes · 12 min read
Understanding NVCC Compilation: A Step‑by‑Step Technical Guide
Linux Kernel Journey
Linux Kernel Journey
Feb 20, 2025 · Fundamentals

When a Linux Program Crashes: Using Backtrace to Quickly Pinpoint the Fault

This article explains why Linux programs may exit unexpectedly, introduces the backtrace utility and its underlying call‑stack mechanism, and provides step‑by‑step instructions—including compilation flags, signal handling, and address‑to‑source mapping—to accurately locate the root cause of crashes.

Linuxaddr2linebacktrace
0 likes · 25 min read
When a Linux Program Crashes: Using Backtrace to Quickly Pinpoint the Fault
Liangxu Linux
Liangxu Linux
Sep 15, 2024 · Backend Development

Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars

This article introduces five widely used, free C/C++ compilers—GCC, Clang/LLVM, Tiny C Compiler, Microsoft Visual C++, and Digital Mars—detailing their main features, platform support, typical usage commands, and ideal application scenarios for developers seeking lightweight or powerful compilation tools.

C++ClangMSVC
0 likes · 12 min read
Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars
Liangxu Linux
Liangxu Linux
Aug 28, 2024 · Fundamentals

Mastering GCC: From C Source to ELF Executable in Four Steps

This guide walks through the complete GCC compilation pipeline—preprocessing, compilation, assembly, and linking—demonstrates how to build a simple C program, inspect the resulting ELF file, and use Binutils tools to analyze sections and disassemble the binary.

BinutilsCompilationELF
0 likes · 13 min read
Mastering GCC: From C Source to ELF Executable in Four Steps
Open Source Linux
Open Source Linux
Aug 23, 2024 · Backend Development

Mastering GCC: From Source Code to Executable ELF Binaries

This article explains how high‑level C/C++ programs are transformed into processor‑executable binary code on Linux, covering preprocessing, compilation, assembly, linking, the GCC toolchain, Binutils utilities, C runtime libraries, and ELF file analysis with practical command examples.

C ProgrammingCompilationELF
0 likes · 13 min read
Mastering GCC: From Source Code to Executable ELF Binaries
Liangxu Linux
Liangxu Linux
Feb 10, 2024 · Operations

Compile C Code On‑the‑Fly Using a Shell Here Document

This article explains how to use the shell's Here Document feature to embed C source code directly in a script, pipe it to gcc with appropriate flags, and instantly compile and run a hello‑world executable without separate source files.

C CompilerScriptinggcc
0 likes · 3 min read
Compile C Code On‑the‑Fly Using a Shell Here Document
Amap Tech
Amap Tech
Jan 26, 2024 · Fundamentals

Debugging a GCC O3 Loop Vectorization Crash: Analysis, Root Cause, and Fix

A segmentation fault in a simple tile‑index copy loop was traced to GCC 9.2’s -O3 loop‑vectorization pass miscalculating structure offsets, and the issue was resolved by disabling -ftree-loop-vectorize or upgrading the compiler, as newer GCC versions and Clang handle the code correctly.

AssemblyNEONcompiler-bug
0 likes · 26 min read
Debugging a GCC O3 Loop Vectorization Crash: Analysis, Root Cause, and Fix
Liangxu Linux
Liangxu Linux
Dec 24, 2023 · Backend Development

Mastering GNU Linker Scripts: Control Binary Layout and Memory Mapping

This guide explains how GNU ld linker scripts work, covering their purpose, basic concepts like sections, symbols, VMA/LMA, the syntax of SECTIONS, INPUT, OUTPUT, and other commands, with practical examples and code snippets for embedded and desktop ELF binaries.

BinaryELFLinker
0 likes · 30 min read
Mastering GNU Linker Scripts: Control Binary Layout and Memory Mapping
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 12, 2023 · Backend Development

Why GCC’s Loop Vectorization Crashed My Code and How to Fix It

A client‑reported segmentation fault was traced to changing GCC’s optimization level from -O2 to -O3, revealing a bug in the -ftree-loop-vectorize option that miscalculates struct sizes, and the article explains the analysis, assembly inspection, NEON details, and a practical workaround.

AssemblyNEONdebugging
0 likes · 28 min read
Why GCC’s Loop Vectorization Crashed My Code and How to Fix It
Open Source Linux
Open Source Linux
Apr 26, 2023 · Backend Development

Mastering GCC: From Preprocessing to ELF Analysis in Linux

This article guides readers through the complete GCC toolchain workflow—preprocessing, compilation, assembly, linking—and explains how to analyze the resulting ELF binary, covering essential commands, Binutils utilities, and runtime library details for C/C++ programs on Linux.

BinutilsC ProgrammingCompilation
0 likes · 13 min read
Mastering GCC: From Preprocessing to ELF Analysis in Linux
Liangxu Linux
Liangxu Linux
Apr 12, 2023 · Fundamentals

Mastering the GCC Toolchain: From Preprocessing to ELF Analysis

This guide explains how high‑level C/C++ source code is transformed into executable binary code on Linux using the GCC toolchain, covering preprocessing, compilation, assembly, linking, and ELF file inspection with practical command examples.

CompilationELFLinux
0 likes · 15 min read
Mastering the GCC Toolchain: From Preprocessing to ELF Analysis
AI Cyberspace
AI Cyberspace
Mar 7, 2023 · Fundamentals

Unlocking the Secrets of C Compilation: From Source to Executable

This article explains the fundamental concepts behind C language compilation, covering lexical, syntax, and semantic analysis, GCC options, file types, static and dynamic linking, ELF structure, and the loader process that turns source code into a runnable program.

CompilationELFLinker
0 likes · 23 min read
Unlocking the Secrets of C Compilation: From Source to Executable
MaGe Linux Operations
MaGe Linux Operations
Jan 23, 2023 · Fundamentals

Key Differences Between Unix and Linux Every Developer Should Know

This article outlines the fundamental differences between Unix and Linux, covering shell defaults, option styles, make utilities, compiler conventions, GNU versus Linux distinctions, and the trademarked UNIX term, helping developers write portable scripts and build systems across various Unix-like platforms.

LinuxMakeOperating Systems
0 likes · 5 min read
Key Differences Between Unix and Linux Every Developer Should Know
21CTO
21CTO
Dec 9, 2022 · Fundamentals

Why Linux Is Embracing Rust: What It Means for Kernel Development

Linux will start supporting the Rust programming language from kernel version 6.1, adding about 12,500 lines of code, with ongoing work from the Rust‑for‑Linux community, GCC’s Rust front‑end integration, and early driver examples demonstrating Rust’s potential in kernel development.

LinuxRustgcc
0 likes · 5 min read
Why Linux Is Embracing Rust: What It Means for Kernel Development
21CTO
21CTO
Sep 17, 2022 · Fundamentals

Can Rust Really Power Linux Kernel Drivers? Exploring the Challenges

The upcoming Linux 6.0 kernel hints at future Rust driver support, but significant hurdles remain such as compiler compatibility, LLVM vs GCC toolchains, and limited architecture support, making widespread Rust integration unlikely until later releases.

LLVMLinuxRust
0 likes · 4 min read
Can Rust Really Power Linux Kernel Drivers? Exploring the Challenges
Open Source Linux
Open Source Linux
Jul 13, 2022 · Fundamentals

Mastering GCC: From Source Code to ELF Executable Explained

This article walks through the complete GCC toolchain workflow—preprocessing, compilation, assembly, and linking—using a simple C "Hello World" program, explains the roles of GCC, Binutils and the C runtime, and shows how to inspect the resulting ELF binary with common Linux utilities.

C ProgrammingCompilationELF
0 likes · 13 min read
Mastering GCC: From Source Code to ELF Executable Explained
Open Source Linux
Open Source Linux
Jun 30, 2022 · Fundamentals

How to Upgrade GCC on CentOS 7 & 8 Using Red Hat Developer Toolset

This guide explains why you should avoid compiling GCC yourself and shows step‑by‑step how to use Red Hat's Developer Toolset or gcc‑toolset to install, switch, and activate newer GCC versions on both CentOS 7 and CentOS 8, including temporary and permanent activation methods.

CentOSDevtoolsetLinux
0 likes · 7 min read
How to Upgrade GCC on CentOS 7 & 8 Using Red Hat Developer Toolset
Liangxu Linux
Liangxu Linux
Jun 22, 2022 · Fundamentals

From Source to Executable: Mastering the GCC Toolchain and ELF Analysis

This guide explains how C/C++ source code is transformed into a runnable binary on Linux by walking through the four stages of preprocessing, compilation, assembly, and linking, detailing GCC and Binutils utilities, command‑line examples, and ELF file inspection techniques.

CompilationELFLinux
0 likes · 14 min read
From Source to Executable: Mastering the GCC Toolchain and ELF Analysis
vivo Internet Technology
vivo Internet Technology
May 25, 2022 · Fundamentals

Improving C/C++ Unit Test Development Efficiency with GCC Plugins

The article proposes a GCC‑plugin‑based tool called TU that automatically extracts AST information from C/C++ source files to generate boundary unit tests, custom cases, and mocks without modifying business code, dramatically reducing the manual effort required for comprehensive test development.

ASTC++Mock
0 likes · 11 min read
Improving C/C++ Unit Test Development Efficiency with GCC Plugins
IT Services Circle
IT Services Circle
Mar 20, 2022 · Fundamentals

Understanding Enum Size and Compiler Options in C (gcc)

This article examines how the memory size of C enum types varies with declared value ranges and compiler options such as -fshort-enums, showing default and shortened sizes across different compilers and illustrating the impact of adding larger constant values.

c++compilerembedded
0 likes · 4 min read
Understanding Enum Size and Compiler Options in C (gcc)
DevOps Engineer
DevOps Engineer
Aug 23, 2021 · Fundamentals

Measuring Code Coverage for C/C++ Projects with Gcov and LCOV

This article explains how to measure code coverage for C/C++ projects using GCC's built‑in Gcov tool and the LCOV utility, covering prerequisite setup, compilation with profiling flags, running tests, generating .gcno/.gcda files, producing .gcov reports, creating HTML visualizations, and cautions against over‑relying on coverage percentages.

code coveragegcclcov
0 likes · 11 min read
Measuring Code Coverage for C/C++ Projects with Gcov and LCOV
Open Source Linux
Open Source Linux
Aug 12, 2021 · Backend Development

Mastering GCC: Core Components, Cross‑Compilation and ARM Toolchains

This article explains the GCC compiler suite, its internal packages (Binutils, gcc‑core, Glibc), demonstrates a simple C build, and details cross‑compilation techniques for ARM, including differences between arm‑linux‑gcc, arm‑elf‑gcc, and various C libraries such as uClibc and newlib.

ARMC librarycross-compilation
0 likes · 10 min read
Mastering GCC: Core Components, Cross‑Compilation and ARM Toolchains
Liangxu Linux
Liangxu Linux
Aug 6, 2021 · Fundamentals

Understanding GCC: Components, Cross‑Compilation, and ARM Toolchains

This article explains the GNU Compiler Collection (GCC) architecture, its core packages (Binutils, gcc‑core, Glibc), demonstrates a simple C compilation workflow, and details cross‑compilation techniques for ARM including arm‑linux‑gcc, arm‑elf‑gcc, and various C libraries such as uClibc and newlib.

ARMC librarycompiler
0 likes · 11 min read
Understanding GCC: Components, Cross‑Compilation, and ARM Toolchains
Liangxu Linux
Liangxu Linux
Jan 27, 2021 · Fundamentals

Is for(;;) Faster Than while(1) in C? A Practical Comparison

The article compares the infinite loop constructs for(;;) and while(1) in C by compiling simple programs, examining the generated assembly with gcc, and shows that both produce identical machine code, while also noting compiler warnings and style preferences.

Assemblyc++code
0 likes · 5 min read
Is for(;;) Faster Than while(1) in C? A Practical Comparison
Liangxu Linux
Liangxu Linux
Jun 16, 2020 · Backend Development

Unlocking GCC: History, Features, and Mastering Its Compilation Options

This article provides a comprehensive overview of the GNU Compiler Collection (GCC), covering its origins, evolution, core compilation stages, essential command‑line options, and advanced capabilities such as building shared and static libraries and mixed‑language projects.

C languageDynamic LibraryLinux
0 likes · 7 min read
Unlocking GCC: History, Features, and Mastering Its Compilation Options
Liangxu Linux
Liangxu Linux
May 31, 2020 · Fundamentals

Detecting Memory Leaks and Errors with AddressSanitizer (ASan)

This guide explains how to use GCC's built‑in AddressSanitizer to detect memory leaks, heap/stack/global buffer overflows, use‑after‑free, and initialization‑order bugs, providing sample code, compilation flags, and example outputs for each error type.

AddressSanitizerC++ debuggingUse-After-Free
0 likes · 18 min read
Detecting Memory Leaks and Errors with AddressSanitizer (ASan)
Architects' Tech Alliance
Architects' Tech Alliance
Jan 21, 2020 · Backend Development

How to Seamlessly Migrate X86 C/C++ Code to Aarch64 TaiShan Servers

This guide details the migration of X86‑compiled C/C++ applications to Huawei TaiShan Aarch64 servers, covering language differences, required compiler versions, common build‑time errors, assembly rewrites, memory‑ordering quirks, floating‑point precision issues, and specific GCC flags to achieve correct and performant binaries.

Compiler Flagsaarch64assembly rewrite
0 likes · 14 min read
How to Seamlessly Migrate X86 C/C++ Code to Aarch64 TaiShan Servers
Liangxu Linux
Liangxu Linux
Jun 9, 2018 · Backend Development

How to Compile Multiple C Programs with a Single Makefile

This tutorial shows how to write a concise Makefile that automatically discovers all .c files in a directory, builds each into an executable with matching names, and supports easy addition of new programs with a single make command.

Build SystemMakefileautomation
0 likes · 4 min read
How to Compile Multiple C Programs with a Single Makefile
Liangxu Linux
Liangxu Linux
Jun 8, 2018 · Fundamentals

Mastering Makefiles: From a Simple One‑Line Rule to Smart Automation

This step‑by‑step tutorial shows how to write a Makefile for a tiny C program, then progressively improves it with separate object files, variables, pattern rules, and built‑in functions like wildcard and patsubst, while explaining each concept and its benefits.

Build AutomationC ProgrammingMakefile
0 likes · 9 min read
Mastering Makefiles: From a Simple One‑Line Rule to Smart Automation
ITPUB
ITPUB
Mar 17, 2017 · Fundamentals

Master Linux Static and Shared Libraries: Build, Link, and Load

This guide explains Linux library types, naming conventions, and step‑by‑step commands for creating static (.a) and shared (.so) libraries, managing symbolic links, checking dependencies, runtime search paths, dynamic loading, and using GNU Libtool.

C ProgrammingGNU LibtoolShared Library
0 likes · 7 min read
Master Linux Static and Shared Libraries: Build, Link, and Load
ITPUB
ITPUB
Mar 11, 2016 · Fundamentals

How to Build and Link a Shared Library (.so) on Linux with GCC

This guide explains the naming conventions, source code, compilation commands, and linking techniques for creating a Linux shared library (.so) using GCC, including options like -fpic, -shared, absolute‑path linking, and the -l flag after copying the library to /usr/lib.

CompilationLinuxShared Library
0 likes · 6 min read
How to Build and Link a Shared Library (.so) on Linux with GCC