Tagged articles
17 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Mar 29, 2026 · Fundamentals

What Happens Inside an ELF File? From Source Code to a Running Process

This article explains how a C/C++ program is compiled into an ELF executable, details the ELF file structure, describes the kernel's validation and segment mapping, covers dynamic linking, and shows how the process starts execution from the _start entry point, providing practical commands and debugging tips.

CompilationELFExecutable
0 likes · 34 min read
What Happens Inside an ELF File? From Source Code to a Running Process
Deepin Linux
Deepin Linux
Oct 14, 2025 · Fundamentals

Unlocking Linux: How ELF Files Transform Into Running Processes

This article explains the ELF file format, its various types, internal structure, compilation and linking steps, and how the Linux kernel loads ELF binaries, creates processes with fork and exec, handles dynamic linking, relocation, and builds the process address space, providing developers and system engineers with deep insight into Linux execution.

Binary FormatELFExecutable
0 likes · 40 min read
Unlocking Linux: How ELF Files Transform Into Running Processes
Tencent Technical Engineering
Tencent Technical Engineering
Feb 28, 2025 · Fundamentals

Understanding C/C++ Runtime Libraries: Concepts, Functions, Platform Implementations, and Common Issues

The article explains what the C/C++ runtime library is, how it implements essential services such as memory allocation, I/O and language features, compares it to Java, Python and JavaScript runtimes, details platform‑specific implementations (glibc, MSVC CRT, libc++, Bionic, etc.), and warns about common pitfalls like multiple CRT instances or version mismatches that can cause crashes.

Memory ManagementRuntime Libraryc++
0 likes · 24 min read
Understanding C/C++ Runtime Libraries: Concepts, Functions, Platform Implementations, and Common Issues
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
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide

This article explains why reusable code should be packaged into libraries, compares static (.a) and dynamic (.so) libraries on Linux, and provides detailed commands, code examples, and troubleshooting steps for building and linking both types of libraries in C++ projects.

C++CompilationDynamic Library
0 likes · 10 min read
Mastering Static and Dynamic Libraries on Linux: A Step‑by‑Step Guide
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 17, 2023 · Fundamentals

What Makes an ELF File Tick? A Deep Dive into ELF and ARM ELF Formats

This article explains the ELF (Executable and Linking Format) specification, its variants for Windows PE and Linux, the classification of ELF object files, data representation, ARM‑specific extensions, and the structure of headers, sections, symbols, and related file types such as .axf, .bin and .hex.

ARMBinaryELF
0 likes · 41 min read
What Makes an ELF File Tick? A Deep Dive into ELF and ARM ELF Formats
Liangxu Linux
Liangxu Linux
Apr 15, 2023 · Fundamentals

Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking

This article explains the four common compilation and linking problems C/C++ developers encounter on 64‑bit Linux, covering preprocessing, ELF object formats, static library ordering, dynamic linking mechanics, symbol interposition, and runtime loading pitfalls, and provides concrete solutions for each.

C++CompilationDynamic Loading
0 likes · 15 min read
Why Your C++ Build Fails: Hidden Pitfalls in 64‑Bit Linux Compilation & Linking
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
Sohu Tech Products
Sohu Tech Products
Nov 2, 2022 · Mobile Development

Swift Package Manager (SwiftPM) Practical Guide: Structure, Resources, Linking, and Best Practices

This article provides a detailed, step‑by‑step guide on using Swift Package Manager (SwiftPM) in iOS projects, covering package creation, directory layout, single‑ and multi‑target designs, dependency handling, Obj‑C/Swift mixing, resource management, static vs dynamic linking, compilation options, ARC disabling, macro definitions, linker settings, common pitfalls, and best‑practice recommendations.

ResourcesSwiftPMbest practices
0 likes · 18 min read
Swift Package Manager (SwiftPM) Practical Guide: Structure, Resources, Linking, and Best Practices
Liangxu Linux
Liangxu Linux
Jan 18, 2021 · Backend Development

Mastering the GCC Toolchain: From Source Code to ELF Executable

This guide walks through the complete GCC compilation pipeline—preprocessing, compilation, assembly, and linking—using a simple C "Hello World" program, detailing each step, relevant commands, and how to inspect the resulting ELF binary.

BinutilsC ProgrammingCompilation
0 likes · 13 min read
Mastering the GCC Toolchain: From Source Code to ELF Executable