Tagged articles

static linking

9 articles · Page 1 of 1
Open Source Tech Hub
Open Source Tech Hub
Sep 7, 2026 · Backend Development

Docker One-Liner Compiles PHP to Native Binaries: Zero-Dependency Go-Style Distribution

This guide shows how to use TypePHP's Docker images to compile PHP code into standalone native Linux binaries without installing C++ or PHP toolchains locally, covering the compilation workflow, a common linker error caused by directory name conflicts, and advanced options like static compilation for scratch containers.

DockerGo-style deploymentPHP AOT compilation
0 likes · 9 min read
Docker One-Liner Compiles PHP to Native Binaries: Zero-Dependency Go-Style Distribution
Open Source Tech Hub
Open Source Tech Hub
Aug 28, 2026 · Backend Development

Say Goodbye to the PHP Interpreter: Build Webman as a Pure Native Binary

Using TypePHP on Windows, the author demonstrates a fully automated workflow that compiles the Webman framework into a self‑contained .exe, detailing the build and packaging scripts, resolving static‑link symbol conflicts, strict type errors, SAPI adjustments, and verifying all routes run without a PHP runtime.

PHP compilationTypePHPWebman
0 likes · 8 min read
Say Goodbye to the PHP Interpreter: Build Webman as a Pure Native Binary
Liangxu Linux
Liangxu Linux
Aug 5, 2024 · Fundamentals

Static vs Dynamic Libraries: Save Disk Space and Simplify Updates

This article explains how programs are laid out in memory, walks through the compilation and linking stages, compares static and dynamic linking, and shows why dynamic libraries reduce disk and memory usage while making bug fixes easier.

Compilationdynamic-linkingmemory layout
0 likes · 8 min read
Static vs Dynamic Libraries: Save Disk Space and Simplify Updates
IT Services Circle
IT Services Circle
Jun 21, 2024 · Fundamentals

Understanding the Difference Between Static and Dynamic Libraries

This article explains how programs are laid out in memory, the roles of code, data, heap, and stack sections, and compares static linking, which bundles all code into the executable, with dynamic linking, which loads shared libraries at runtime to save disk and memory space.

CompilationLibrariesdynamic-linking
0 likes · 9 min read
Understanding the Difference Between Static and Dynamic Libraries
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.

C++CompilationELF
0 likes · 23 min read
Unlocking the Secrets of C Compilation: From Source to Executable
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Oct 27, 2021 · Fundamentals

Understanding ld64 Static Linking in iOS: Architecture, Symbol Processing, and Optimization

This article provides an in‑depth technical overview of the ld64 static linker used in iOS builds, explaining its architecture, how it parses .o, .a and .dylib files, manages symbols, atoms and fixups, resolves undefined references, performs dead‑code stripping, and generates the final executable.

Linkerdead stripiOS
0 likes · 30 min read
Understanding ld64 Static Linking in iOS: Architecture, Symbol Processing, and Optimization
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 23, 2021 · Fundamentals

Understanding ld64 Static Linking on iOS: Architecture, Symbols, and Optimizations

This comprehensive guide explains the inner workings of Apple's ld64 static linker for iOS, covering its historical background, core concepts such as objects, archives, symbols, and fixups, command‑line parameters, execution phases, symbol resolution, dead‑code stripping, optimization passes, output generation, auto‑linking, the -ObjC flag, debugging options, and LTO support.

Linkerdead stripiOS
0 likes · 31 min read
Understanding ld64 Static Linking on iOS: Architecture, Symbols, and Optimizations
Liangxu Linux
Liangxu Linux
May 9, 2021 · Fundamentals

Mastering Linux Library Linking: From Static Archives to Dynamic Loading

This tutorial walks through Linux library management, demonstrating how to build and inspect static (.a) and shared (.so) libraries, configure runtime search paths with LD_LIBRARY_PATH, customize linker behavior, and handle multi‑architecture library locations using practical command‑line examples.

LD_LIBRARY_PATHLinuxdynamic-linking
0 likes · 11 min read
Mastering Linux Library Linking: From Static Archives to Dynamic Loading