V2EX  ›  英汉词典
Enqueued related words: Portability

Cross-compilation

定义 Definition

Cross-compilation(交叉编译):在一种平台(主机/host)上编译代码,但生成可在另一种不同平台(目标/target)上运行的可执行文件或库的过程。常见于嵌入式开发、移动设备、不同 CPU 架构(如 x86 → ARM)或不同操作系统之间的构建。

发音 Pronunciation (IPA)

/ˌkrɔːs ˌkɑːmpɪˈleɪʃən/

例句 Examples

Cross-compilation lets me build an ARM program on my laptop.
交叉编译让我可以在笔记本电脑上构建(生成)可在 ARM 设备上运行的程序。

Because the build server runs Linux, we used cross-compilation to produce a Windows executable with the correct target libraries.
由于构建服务器运行的是 Linux,我们使用交叉编译并配好目标库,生成了可在 Windows 上运行的可执行文件。

词源 Etymology

cross- 表示“跨越、跨平台/跨系统”,compilation 来自 compile(编译、汇编整理)。合起来强调“在一个环境中编译、产出给另一个环境使用”的编译方式。该术语在软件工程与嵌入式工具链语境中尤其常见。

相关词 Related Words

文学与著作 Literary Works

  • The Linux Programming Interface(Michael Kerrisk)
  • Embedded Linux Primer(Christopher Hallinan)
  • Buildroot User Manual(Buildroot 项目文档)
  • The Yocto Project Documentation(Yocto 项目文档)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   868 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 19:41 · PVG 03:41 · LAX 11:41 · JFK 14:41
♥ Do have faith in what you're doing.