V2EX  ›  英汉词典

Cross-compile

释义 Definition

交叉编译:在一种平台/架构(如 x86 的 Windows 或 Linux)上编译代码,但生成可在另一种平台/架构(如 ARM 的嵌入式设备、Android、树莓派等)上运行的可执行文件或程序库。常用于嵌入式开发、移动端开发与多平台发布。(也可作名词:cross-compilation

发音 Pronunciation

/ˌkrɔːs kəmˈpaɪl/

例句 Examples

I cross-compile the program on my laptop for the Raspberry Pi.
我在笔记本电脑上把这个程序交叉编译成可在树莓派上运行的版本。

To reduce build time, the team cross-compiles the firmware using a dedicated toolchain and then runs tests on the target device.
为了缩短构建时间,团队使用专用工具链交叉编译固件,然后在目标设备上进行测试。

词源 Etymology

cross- 有“跨越、交叉、跨平台”的含义,compile 来自拉丁语 compilare(意为“汇编、整理”),在计算机语境中指“编译”。合起来就是“跨(目标平台)进行编译”,强调“编译环境”与“运行环境”不同。

相关词 Related Words

文学作品 Literary Works

该词主要属于计算机工程术语,通常出现在技术书籍与开发文档中,而非传统文学作品;在以下技术类著作/文献中常见相关用法(或讨论同一概念):

  • The Linux Programming Interface(Michael Kerrisk)
  • Embedded Linux Primer(Christopher Hallinan)
  • Linux From Scratch(Gerard Beekmans 等,项目书籍/文档)
  • GNU 工具链文档(如 GCC、Binutils 官方文档中关于 cross-compiling 的章节)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2098 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 09:50 · PVG 17:50 · LAX 01:50 · JFK 04:50
♥ Do have faith in what you're doing.