Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation

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

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

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat