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
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:
Top|Contents|Index|Previous|Next