Tagged articles
Cross-compilation
32 articles · Page 1 of 1
This article demonstrates how TypePHP enables native iOS app development entirely in PHP by compiling PHP to arm64 machine code and using a thin Objective-C++ bridge to UIKit, covering architecture, code structure, compilation, signing, deployment, and customization with concrete examples and commands.
Cross-compilationNative DevelopmentObjective-C++
0 likes · 11 min read

This article explains what embedded systems are, outlines their four-layer architecture, distinguishes real‑time and non‑real‑time operating systems, describes priority inversion and its fixes, introduces cross‑compilation, and connects embedded databases and middleware to the growing trends of edge computing and reliability design, providing a concise study guide for the software architect certification.
Cross-compilationEdge ComputingPriority Inversion
0 likes · 7 min read

This guide walks through installing all required packages, configuring ARM32 and ARM64 cross‑compilation toolchains on Ubuntu 18.04/20.04/22.04, verifying the setup with a sample program, and provides commands for fixing common issues and uninstalling the toolchains.
ARMCross-compilationGCC
0 likes · 6 min read

This guide explains how to create a minimal root filesystem for an embedded Linux board using BusyBox, covering flash file system options, required directory structure, cross‑compilation setup, building and installing BusyBox, adding init scripts, creating a ramdisk image, and configuring U‑Boot to boot from NFS or ramdisk.
BusyBoxCross-compilationFilesystem
0 likes · 17 min read

This article walks through the theory of Linux file systems, compares flash‑specific filesystems, outlines the essential rootfs directories, details required tools like a cross‑compiler and TFTP/NFS servers, and provides a complete step‑by‑step procedure—including BusyBox compilation, rootfs population, init scripts, and ramdisk creation—to produce a bootable root filesystem for an embedded board.
BusyBoxCross-compilationEmbedded
0 likes · 15 min read

This guide walks you through extracting the vsftpd source, configuring the ARM cross‑toolchain, compiling the server, copying binaries and configuration files to the target board, creating a startup script, and testing the FTP service from a PC client.
ARMCross-compilationEmbedded Linux
0 likes · 15 min read

This article introduces rtla timerlat, a Linux scheduling‑latency analysis tool that breaks latency into detailed phases, explains how to cross‑compile its libtracefs and libtraceevent dependencies, compile the tool, enable the kernel timerlat tracer, configure common parameters, and run a typical command with sample output.
Cross-compilationKernel TracingLinux
0 likes · 11 min read

libjpeg, the open‑source C library from the Independent JPEG Group, provides comprehensive JPEG encoding and decoding capabilities, explains JPEG format fundamentals, details its modular architecture, demonstrates encoding/decoding code examples, and guides cross‑compiling on Ubuntu 16.04 with configuration and make steps.
C libraryCross-compilationJPEG
0 likes · 8 min read


JD TechSep 26, 2024 · Backend Development
This article details the process of adapting the V8 JavaScript engine for HarmonyOS, covering engine selection, cross‑compilation using CMake and Ninja, toolchain configuration, building builtins and snapshots, and integrating the resulting library into native HarmonyOS applications.
CMakeCross-compilationEmbedded
0 likes · 20 min read

This article explains why the Roma framework needs a JavaScript engine on HarmonyOS, compares mainstream JS engines, details V8's architecture and JIT pipeline, and provides a step‑by‑step process for cross‑compiling V8 with CMake, GN, Ninja and the HarmonyOS SDK, including code examples and tooling tips.
CMakeCross-compilationHarmonyOS
0 likes · 40 min read

This article explains the need to adapt the Roma framework for HarmonyOS by selecting and analyzing the V8 JavaScript engine, describes its internal components such as the parser, Ignition interpreter, TurboFan JIT compiler and Orinoco garbage collector, and provides a step‑by‑step guide for cross‑compiling V8 with CMake, GN, Ninja and tool‑chain files to produce a usable library for HarmonyOS native projects.
CMakeCross-compilationHarmonyOS
0 likes · 36 min read

This comprehensive guide walks IT and DevOps professionals through understanding ARM and x86 architectures, setting up the build environment, creating and customizing base images, optimizing size and performance, and packaging for distribution, with practical commands and best‑practice recommendations.
ARMCross-compilationDevOps
0 likes · 9 min read

This guide explains what rsync is, how to compile it for an ARM development board, configure it to avoid SIMD and other features, install the binary, and use rsync commands with options like -a, -v, -z, -u and --progress to efficiently synchronize files between the board and a PC.
Cross-compilationEmbedded Linuxcommand-line
0 likes · 5 min read

Learn what rsync is, how to compile it for an ARM‑based development board, configure the build to disable SIMD and other features, install the binary, and use rsync commands with common options to efficiently synchronize files between the board and a PC.
ARMCross-compilationLinux
0 likes · 5 min read

This tutorial explains how to install Docker Buildx, create and manage builders, and use QEMU emulation or Go cross‑compilation to produce multi‑platform Docker images, covering command syntax, driver options, global BuildKit variables, and how to push or load the resulting images.
Cross-compilationDockerQEMU
0 likes · 20 min read

This guide explains what rsync is, walks through cross‑compiling it for an ARM board, shows how to install the binary, and demonstrates practical file‑synchronization commands with detailed flag explanations.
ARMCross-compilationLinux
0 likes · 5 min read


21CTOJun 15, 2024 · Fundamentals
This article introduces the Virgil programming language, highlighting its goal as a lightweight high‑performance system language with powerful cross‑compilation, comparing it to Zig and Rust, and provides step‑by‑step installation, code examples, algebraic data types, and pointer usage for developers.
Cross-compilationSystems ProgrammingVirgil
0 likes · 8 min read

This guide explains how to use QEMU on an x86 host to pull an ARM base image, create a Dockerfile with QEMU support, build the ARM-compatible Docker image, and test it, including a practical example of packaging a simple Python app for Raspberry Pi.
ARMCross-compilationDocker
0 likes · 8 min read

This article introduces Valgrind, outlines its main debugging tools, provides step‑by‑step installation and usage instructions on Linux, demonstrates memory‑error detection with a sample C program, and explains how to cross‑compile Valgrind for ARM targets.
Cross-compilationDebugging Toolsmemory debugging
0 likes · 10 min read

This tutorial details how to set up a cross‑compilation toolchain on Ubuntu 20.04, install QEMU, build a BusyBox‑based root filesystem, compile and configure the ARM64 Linux kernel, create a simulated disk, share files between host and guest, and perform kernel debugging using GDB and Eclipse.
Cross-compilationDebuggingLinux
0 likes · 15 min read


21CTOAug 31, 2023 · Backend Development
Zig combines a lightweight, C‑compatible syntax with a built‑in build system, package manager, and safety features, positioning it as a compelling, hardware‑friendly successor to C for system programming, cross‑compilation, and modern software development, while offering seamless C interop and robust tooling.
C alternativeCross-compilationSystem Programming
0 likes · 13 min read

This article provides a comprehensive guide on Rust build scripts, the role of sys crates, foreign function interfaces, and cross‑compilation techniques, illustrating how to create and use NAPI‑sys and libsodium‑sys crates, manage Cargo instructions, and leverage tools like Zig for seamless multi‑platform builds.
Build ScriptCross-compilationFFI
0 likes · 21 min read

The article explains how embedded developers can leverage cross‑compilation toolchains and the addr2line utility to quickly translate crash addresses into source file names and line numbers, dramatically improving debugging efficiency for native and kernel crashes.
ARMCross-compilationToolchain
0 likes · 6 min read


21CTONov 28, 2021 · Fundamentals
This article introduces Go, highlights its concise and clean syntax, showcases core language structures and built‑in tools, explains module creation and cross‑compilation, and demonstrates how to build binaries and WebAssembly modules, making a compelling case for learning Golang.
Cross-compilationGoModules
0 likes · 6 min read

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

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

This guide walks through the complete workflow of embedded Linux system porting, covering the rationale and setup of a cross‑compilation environment, bootloader selection and migration, kernel configuration and build, and root filesystem creation, while offering practical commands, tool recommendations, and troubleshooting tips.
Cross-compilationEmbedded LinuxRootFS
0 likes · 33 min read

This guide explains how to build an ARM GCC cross‑compilation toolchain on non‑ARM (x86) servers, covering environment preparation, toolchain download, installation steps, environment variable configuration, and testing the compiled binaries on a Kunpeng cloud server.
ARMCross-compilationGCC
0 likes · 5 min read

This guide walks you through using an automated script to download dependencies, build QEMU 4.1.1, compile the Linux 4.19.1 kernel and BusyBox for ARM64, and install openEuler 1.0 in a virtual machine, including optional GDB debugging and snapshot tips.
Cross-compilationLinux kernelQEMU
0 likes · 10 min read

This article explains how to replace repetitive manual Go commands like "go build" and "go test" with a well‑structured Makefile, covering variable definitions, common targets, cross‑compilation, Docker builds, and usage examples to streamline and automate Go project workflows.
Cross-compilationGoMakefile
0 likes · 5 min read

This tutorial explains how to build and integrate OpenSSL 1.1.0e for modern Android, iOS, and Linux environments, providing shell scripts for each platform, detailed configuration steps, and examples of using the resulting static libraries in C, JNI, and Java code.
AndroidC++Cross-compilation
0 likes · 10 min read

This article explains how to use the CodeTyphon IDE and Free Pascal Compiler to create reusable cross‑platform libraries, covering environment setup, compilation commands for Android, iOS devices and simulators, and a complete Pascal example with JNI bindings.
AndroidCodeTyphonCross-compilation
0 likes · 9 min read
