f78
Target Selection
Contents|Index|Previous|Next
Target
Selection
A target is an object
file format. A given target may be supported for multiple architectures
(see Architecture
Selection ). A target selection may also have variations for
different operating systems or architectures.
The command to list valid
target values is objdump
-i (the first
column of output contains the relevant information).
Some sample values are: a.out-hp300bsd,
ecoff-littlemips,
a.out-sunos-big.
objdump
Target
Ways to specify:
- command line option: -b
or--target
- environment variable GNUTARGET
- deduced from the input file
objcopy
and strip
Input Target
ffb
Ways to specify:
- command line options, -I,
--input-target,
-F,
or --target
- environment variable, GNUTARGET
- deduced from the input file
objcopy
and strip
Output Target
Ways to specify:
- command line options, -O,
--output-target,
-F,
or --target
- the input target (see objcopy
and strip
Input Target)
- environment variable, GNUTARGET
- deduced from the input file
nm,
size,
and strings
Target
Ways to specify:
- command line option, --target
- environment variable GNUTARGET
- deduced from the input file
Linker
Input Target
Ways to specify:
Linker
Output Target
Ways to specify:
0