Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Manuale Utente Pagina 65

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 80
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 64
Chapter 16.
Selecting the Target System
You can specify two aspects of the target system to the gnu binary file utilities, each in several ways:
the target
the architecture
In the following summaries, the lists of ways to specify values are in order of decreasing precedence.
The ways listed first override those listed later.
The commands to list valid values only list the values for which the programs you are running were
configured. If they were configured with -enable-targets=all, the commands list most of the
available values, but a few are left out; not all targets can be configured in at once because some of
them can only be configured native (on hosts with the same type as the target system).
16.1. Target Selection
A target is an object file format. A given target may be supported for multiple architectures (Sec-
tion 16.2 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 rele-
vant information).
Some sample values are: a.out-hp300bsd, ecoff-littlemips, a.out-sunos-big.
You can also specify a target using a configuration triplet. This is the same sort of name that is passed
to configure to specify a target. When you use a configuration triplet as an argument, it must be fully
canonicalized. You can see the canonical version of a triplet by running the shell script config.sub
which is included with the sources.
Some sample configuration triplets are: m68k-hp-bsd, mips-dec-ultrix, sparc-sun-sunos.
16.1.1. objdumpTarget
Ways to specify:
1. command line option: -b or -target
2. environment variable GNUTARGET
3. deduced from the input file
16.1.2. objcopyand stripInput Target
Ways to specify:
1. command line options: -I or -input-target, or -F or -target
2. environment variable GNUTARGET
3. deduced from the input file
Vedere la pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 79 80

Commenti su questo manuale

Nessun commento