ITK/Cross Compiling: Difference between revisions
From KitwarePublic
< ITK
Jump to navigationJump to search
(Created page with "This page describes the procedure to follow when cross compiling for another system. In this page, we will refer to the system as: * Target System: The system where the executa...") |
|||
Line 16: | Line 16: | ||
# Build your tool chain in the build system | # Build your tool chain in the build system | ||
#* This is | #* This is the set of compiler and linker that must be build in the '''build''' system, but will know how to generate code for the Target system. | ||
# Create a TryRun ... file in the '''native''' system | # Create a TryRun ... file in the '''native''' system | ||
#* This could be generated (as a skeleton) with the following commands |
Revision as of 01:07, 11 February 2011
This page describes the procedure to follow when cross compiling for another system.
In this page, we will refer to the system as:
- Target System: The system where the executables are intended to run.
- Build System: The system where the executables are built.
In Linux for Mac
In this particular case we illustrate
- Target System = Mac
- Build System = Linux
Major steps
- Build your tool chain in the build system
- This is the set of compiler and linker that must be build in the build system, but will know how to generate code for the Target system.
- Create a TryRun ... file in the native system
- This could be generated (as a skeleton) with the following commands