getting_started:host_and_target
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:host_and_target [2015/10/14 13:00] – [Host and Target] graf | getting_started:host_and_target [2021/02/12 16:40] (current) – [Cross Compilation] ursgraf | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | ===== Find the Architecture of your Machine ===== | + | ===== Determine |
On a Linux system the following command displays the hardware plattform of your machine: | On a Linux system the following command displays the hardware plattform of your machine: | ||
Line 22: | Line 22: | ||
===== Cross Compilation ===== | ===== Cross Compilation ===== | ||
- | A compiler that runs on one plattform | + | A compiler that runs on one platform |
- | EEROS uses CMake to build the code. By default CMake does not use a cross compiler. To tell CMake to use a cross compiler you have to supply the CMAKE_TOOLCHAIN_FILE option when generating the build files: | + | If you don't use an SDK, you have to make sure to manually specify a cross compiler. |
< | < | ||
Line 30: | Line 30: | ||
</ | </ | ||
- | An example of a toolchain file can be found on the github page of the EEDURO project: [[https:// |
getting_started/host_and_target.1444820420.txt.gz · Last modified: 2015/10/14 13:00 by graf