242Chapter8 • Cross-Platform and Embedded Systems Development
During the development phase, most of the time you compile code with debug information
enabled. The size of the output files is usually quite large but this is acceptable. A different
approach is to create multiple files, one built without debug information or stripped and at least
one other file containing all symbols information. You can load the latter file into the debugger
before connecting the debugger to the executable.
8.1.4.3Transfer to the Target Machine
After building executable code for a cross-platform development project, you have to
transfer it to the target machine. There are several ways to do so depending upon the target
machine. If the target machine has a JTAG interface, you can use that interface to transfer the file
Write Code
Compile and Link
Download to the
Target
Debug on the
Target
Burn a ROM or copy to
any other permanent
storage medium like
Compact Falsh
Run on the target
Works OK .
Processes with
this color need
both host and
target machines
Processes with
this color need
only host machine
Processes with
this color need
target machine
only
Legends
Figure8-1 Flow chart of cross-platform development.