Skip to content

Commit

Permalink
Update source/tutorials/cross-compilation.rst
Browse files Browse the repository at this point in the history
Co-authored-by: John Ericson <git@JohnEricson.me>
  • Loading branch information
domenkozar and Ericson2314 authored Jun 16, 2021
1 parent 7b7c836 commit 3729167
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/tutorials/cross-compilation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
Cross-compilation
=================

Cross-compilation is the act of **compiling code** on the **build platform**
to the **host platform**, where the compiled **executable runs**. [#]_
When compiling code, we can distinguish between the **build platform**, where the executable
is *built*, and the **host platform**, where the compiled executable *runs*. [#]_
**Native compilation** is the special case where those two platforms are the same.
**Cross compilation** is the general case where those two platforms are not.

It's needed when the host platform has limited resources (such as CPU)
or when it's not easily accessible for development.
Expand Down

0 comments on commit 3729167

Please sign in to comment.