Contents|Index|Previous|Next
Architecture
selection
An architecture
is a type of CPU on which an object file is to run. Its name may contain
a colon, separating the name of the processor family from the name of the
particular CPU.
The command to list valid
architecture values is ‘objdump
-i’ (the second
column contains the relevant information).
Sample values: ‘m68k:68020’,
‘mips:3000’,
‘sparc’.
objdump
architecture
Ways to specify: objdump
-
command line option: ‘-m’
or ‘--architecture’
-
deduced from the input file
objcopy,
nm,
size,
strings
architecture
Ways to specify:
-
deduced from the input file
Linker
input architecture
Ways to specify:
-
deduced from the input file
Linker
output architecture
Ways to specify: