You can specify three aspects of the target system to the GNU
binary file utilities, each in several ways:
Ÿ°Ù ½Ã½ºÅÛÀÇ 3 °¡Áö Á¤º¸¸¦ µµ±¸¿¡°Ô ¾Ë·ÁÁÙ ¼ö ÀÖ´Ù.
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).
°ªÀ» ÁöÁ¤ÇÏ´Â ¹æ¹ýÀ» ¿ì¼±¼øÀ§ ¼ø¼·Î Àû¾îµÎ¾ú´Ù.
¸ÕÀú ³ª¿À´Â ¹æ¹ýÀÌ ´ÙÀ½¿¡ ³ª¿À´Â ¹æ¹ýÀ» ´ëüÇÑ´Ù.
°¡´ÉÇÑ °ªÀ» Ãâ·ÂÇÏ´Â ¸í·É¾î´Â ÇÁ·Î±×·¥À» ±¸¼ºÇÒ ¶§ °ª¸¸À» Ãâ·ÂÇÑ´Ù.
±¸¼ºÇÒ ¶§ `--enable-targets=all'¸¦ »ç¿ëÇß´Ù¸é,
¸í·É¾î´Â ¸î°³¸¦ Á¦¿ÜÇÏ°í ´ëºÎºÐÀÇ °ªÀ» Ãâ·ÂÇÑ´Ù. ¸î¸îÀº Ÿ°Ù ½Ã½ºÅÛ°ú
°°Àº Á¾·ù¿¡¼¸¸ °¡´ÉÇϱ⠶§¹®¿¡ ¸ðµç Ÿ°ÙÀ» »ç¿ëÇÒ ¼ö´Â ¾ø´Ù.
Ÿ°Ù ¼±ÅÃÇϱâ
A target is an object file format. A given target may be supported for multiple architectures (see section 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'.
Ÿ°Ù(target)Àº ¿ÀºêÁ§Æ® ÆÄÀÏÀÇ Çü½ÄÀÌ´Ù. ¾î¶² Ÿ°ÙÀº
¿©·¯ ¾ÆÅ°ÅØÃÄ(Architecture selection Âü°í)¿¡¼
»ç¿ëµÈ´Ù. ¿î¿µÃ¼Á¦¿Í ¾ÆÅ°ÅØÃĸ¶´Ù Ÿ°Ù¿¡ Â÷ÀÌ°¡ ÀÖÀ» ¼ö ÀÖ´Ù.
°¡´ÉÇÑ Å¸°ÙµéÀ» º¸·Á¸é `objdump -i'À» »ç¿ëÇÑ´Ù.
(ù¹ø° ¿¿¡ Ãâ·ÂµÈ´Ù.)
¿¹¸¦ µé¾î `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'.
Æ®¸®ÇÃ(¿ªÁÖ; "CPU-Á¦Á¶»ç-¿î¿µÃ¼Á¦"ÀÇ ÇüÅÂ)·Î Ÿ°ÙÀ» ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù.
À̴ Ÿ°ÙÀ» ÁöÁ¤Çϱâ À§ÇØ
`configure'¿¡¼ »ç¿ëÇÏ´Â °ª°ú °°Àº Á¾·ùÀÌ´Ù. ¾Æ±Ô¸ÕÆ®·Î Æ®¸®ÇÃÀ»
»ç¿ëÇϸé ÁÙÀÌÁö ¾Ê°í ¿ÏÀüÇÑ Çüžî¾ß ÇÑ´Ù. ¼Ò½º¿¡ Æ÷ÇÔµÈ ½© ½ºÅ©¸³Æ®
`config.sub'¸¦ ½ÇÇàÇÏ¿© ÀÌ °ªµéÀ» º¼ ¼ö ÀÖ´Ù.
¿¹µé µé¾î °¡´ÉÇÑ Æ®¸®ÇÃÀº `m68k-hp-bsd',
`mips-dec-ultrix', `sparc-sun-sunos'°ú °°Àº °ªÀÌ´Ù.
objdump
Ÿ°Ù
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
GNUTARGET
GNUTARGET
objcopy
, strip
ÀԷ Ÿ°Ù
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
GNUTARGET
GNUTARGET
objcopy
, strip
Ãâ·Â Ÿ°Ù
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
objcopy
and strip
Input Target" above)
objcopy
and strip
Input Target" Âü°í)
GNUTARGET
GNUTARGET
nm
, size
, strings
Ÿ°Ù
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
GNUTARGET
GNUTARGET
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
TARGET
(see section `Option Commands' in Using LD)
TARGET
(Using LDÀÇ `Option Commands'¸¦ Âü°í)
GNUTARGET
(see section `Environment' in Using LD)
GNUTARGET
(Using LDÀÇ `Environment'¸¦ Âü°í)
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
OUTPUT_FORMAT
(see section `Option Commands' in Using LD)
OUTPUT_FORMAT
(Using LDÀÇ `Option Commands'¸¦ Âü°í)
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'.
¾ÆÅ°ÅØÃÄ(architecture)´Â ¿ÀºêÁ§Æ® ÆÄÀÏÀÌ ½ÇÇàµÇ´Â CPU Á¾·ùÀÌ´Ù.
À̸§Àº ÇÁ·Î¼¼¼±º À̸§°ú ƯÁ¤ CPU À̸§À» ±¸ºÐÇÏ´Â `:'À» Æ÷ÇÔÇÒ ¼ö ÀÖ´Ù.
°¡´ÉÇÑ ¾ÆÅ°ÅØÃÄ´Â `objdump -i'·Î ¾Ë ¼ö ÀÖ´Ù.
(µÎ¹ø° ¿¿¡ Ãâ·ÂµÈ´Ù.)
¿¹¸¦ µé¾î `m68k:68020', `mips:3000', `sparc'°ú
°°Àº °ªµéÀÌ´Ù.
objdump
¾ÆÅ°ÅØÃÄ
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
objcopy
, nm
, size
, strings
¾ÆÅ°ÅØÃÄ
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
Ways to specify:
ÀÔ·Â ÆÄÀÏ¿¡¼ ÆÇ´Ü
OUTPUT_ARCH
(see section `Option Commands' in Using LD)
OUTPUT_ARCH
(Using LDÀÇ `Option Commands'¸¦ Âü°í)
A linker emulation is a "personality" of the linker, which gives
the linker default values for the other aspects of the target system.
In particular, it consists of
¸µÄ¿ ¿¡¹Ä·¹À̼Ç(emulation)Àº ¸µÄ¿¿¡°Ô Ÿ°Ù ½Ã½ºÅÛ¿¡ ´ëÇÑ ¸¹Àº
±âº»°ªÀ» Á¦°øÇÑ´Ù. ¿¡¹Ä·¹À̼ÇÀº ´ÙÀ½À» Æ÷ÇÔÇÑ´Ù.
The command to list valid linker emulation values is `ld -V'.
Sample values: `hp300bsd', `mipslit', `sun4'.
°¡´ÉÇÑ ¸µÄ¿ ¿¡¹Ä·¹À̼ÇÀº `ld -V'·Î ¾Ë ¼ö ÀÖ´Ù.
¿¹¸¦ µé¾î `hp300bsd', `mipslit', `sun4'°ú
°°Àº °ªÀÌ´Ù.
Ways to specify:
´ÙÀ½ ¹æ¹ýÀ¸·Î ÁöÁ¤ÇÑ´Ù.
LDEMULATION
LDEMULATION
DEFAULT_EMULATION
from `Makefile',
which comes from EMUL
in `config/target.mt'
DEFAULT_EMULATION
.
ÀÌ °ªÀº `config/target.mt'ÀÇ EMUL
ÀÌ °áÁ¤ÇÑ´Ù.
Go to the first, previous, next, last section, table of contents.