# Cross compile

By [Primrose](https://paragraph.com/@primrose) · 2023-07-07

---

Cross compile
=============

크로스 컴파일이라는 말을 들어본 적이 있을 것이다.

컴파일러가 실행되는 플랫폼이 아닌, 다른 플랫폼에서 실행 가능한 코드를 생성할 수 있는 컴파일러를 뜻한다.

> 운영체제를 지원하지 않는 마이크로 컨트롤러와 같이 컴파일 불가능한 플랫폼에 컴파일 하는데 사용된다.

![https://haneepark.github.io/2018/09/15/what-is-cross-compile/](https://storage.googleapis.com/papyrus_images/59218515565935bcb8f586b8a52cc4654cf813b7e03ace6ab22ec520eefba92e.png)

https://haneepark.github.io/2018/09/15/what-is-cross-compile/

A 머신에서 컴파일러를 작동해서 B 머신에서 동작하는 바이너리를 만드는 것이라고 생각하면 쉽다.

Link
====

[https://kkhipp.tistory.com/160](https://kkhipp.tistory.com/160)

[https://blankspace-dev.tistory.com/242](https://blankspace-dev.tistory.com/242)

[https://haneepark.github.io/2018/09/15/what-is-cross-compile/](https://haneepark.github.io/2018/09/15/what-is-cross-compile/)

---

*Originally published on [Primrose](https://paragraph.com/@primrose/cross-compile)*
