Go to the first, previous, next, last section, table of contents.


strip


strip [ -F bfdname | --target=bfdname ]
      [ -I bfdname | --input-target=bfdname ]
      [ -O bfdname | --output-target=bfdname ]
      [ -s | --strip-all ] [ -S | -g | --strip-debug ]
      [ -K symbolname | --keep-symbol=symbolname ]
      [ -N symbolname | --strip-symbol=symbolname ]
      [ -x | --discard-all ] [ -X | --discard-locals ]
      [ -R sectionname | --remove-section=sectionname ]
      [ -o file ] [ -p | --preserve-dates ]
      [ -v | --verbose ]  [ -V | --version ]  [ --help ]
      objfile...

GNU strip discards all symbols from object files objfile. The list of object files may include archives. At least one object file must be given.

strip modifies the files named in its argument, rather than writing modified copies under different names.

GNU strip´Â ¿ÀºêÁ§Æ® ÆÄÀÏ objfile¿¡¼­ ¸ðµç ½Éº¼À» Á¦°ÅÇÑ´Ù. ¾ÆÄ«À̺긦 »ç¿ëÇصµ µÈ´Ù. ÃÖ¼ÒÇÑ ÇÑ ¿ÀºêÁ§Æ® ÆÄÀÏÀÌ ÁÖ¾îÁ®¾ß ÇÑ´Ù.

strip´Â ´Ù¸¥ À̸§À¸·Î º¯°æµÈ ÆÄÀÏÀ» ¾²Áö¾Ê°í, ¾Æ±Ô¸ÕÆ®·Î ÁÖ¾îÁø ÆÄÀÏ ÀÚü¸¦ º¯°æÇÑ´Ù.

-F bfdname
--target=bfdname
Treat the original objfile as a file with the object code format bfdname, and rewrite it in the same format. See section Target Selection, for more information.
¿ÀºêÁ§Æ® ÆÄÀÏ objfileÀÌ bfdname Çü½ÄÀ¸·Î ¾²¿©Á³´Ù°í ¾Ë¸®°í, °°Àº Çü½ÄÀ¸·Î Ãâ·ÂÇÑ´Ù. Target Selection¸¦ Âü°íÇ϶ó.
--help
Show a summary of the options to strip and exit.
stripÀÇ ¿É¼ÇÀ» °£´ÜÈ÷ ¼³¸íÇÏ°í Á¾·áÇÑ´Ù.
-I bfdname
--input-target=bfdname
Treat the original objfile as a file with the object code format bfdname. See section Target Selection, for more information.
¿ÀºêÁ§Æ® ÆÄÀÏ objfileÀÌ bfdname Çü½ÄÀ¸·Î ¾²¿©Á³´Ù°í ¾Ë¸°´Ù. Target Selection¸¦ Âü°íÇ϶ó.
-O bfdname
--output-target=bfdname
Replace objfile with a file in the output format bfdname. See section Target Selection, for more information.
bfdname Çü½ÄÀ¸·Î Ãâ·Â ÆÄÀÏ objfileÀ» ÀÛ¼ºÇÑ´Ù. Target Selection¸¦ Âü°íÇ϶ó.
-R sectionname
--remove-section=sectionname
Remove any section named sectionname from the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable.
Ãâ·Â¿¡¼­ ¼½¼Ç sectionnameÀ» Á¦°ÅÇÑ´Ù. ÀÌ ¿É¼ÇÀº ¿©·¯¹ø »ç¿ëÇÒ ¼ö ÀÖ´Ù. ÁÖÀÇ! ÀÌ ¿É¼ÇÀ» À߸ø»ç¿ëÇϸé Ãâ·Â ÆÄÀÏÀ» »ç¿ë¸øÇÏ°Ô ¸¸µé ¼ö ÀÖ´Ù.
-s
--strip-all
Remove all symbols.
¸ðµç ½Éº¼À» Á¦°ÅÇÑ´Ù.
-g
-S
--strip-debug
Remove debugging symbols only.
µð¹ö±ë ½Éº¼¸¸ Á¦°ÅÇÑ´Ù.
--strip-unneeded
Remove all symbols that are not needed for relocation processing.
Àç¹èÄ¡ °úÁ¤¿¡ »ç¿ëµÇÁö ¾Ê´Â ¸ðµç ½Éº¼À» Á¦°ÅÇÑ´Ù.
-K symbolname
--keep-symbol=symbolname
Keep only symbol symbolname from the source file. This option may be given more than once.
½Éº¼ symbolname¸¸À» À¯ÁöÇÑ´Ù. ÀÌ ¿É¼ÇÀº ¿©·¯¹ø »ç¿ëÇÒ ¼ö ÀÖ´Ù.
-N symbolname
--strip-symbol=symbolname
Remove symbol symbolname from the source file. This option may be given more than once, and may be combined with strip options other than -K.
½Éº¼ symbolnameÀ» Á¦°ÅÇÑ´Ù. ÀÌ ¿É¼ÇÀº ¾î·Á¹ø »ç¿ëÇÒ ¼ö ÀÖ°í, -K ¿Ü¿¡ ¿É¼Çµé°ú °°ÀÌ »ç¿ëÇÒ ¼ö ÀÖ´Ù.
-o file
Put the stripped output in file, rather than replacing the existing file. When this argument is used, only one objfile argument may be specified.
¿ø·¡ ÆÄÀÏÀ» ´ëüÇÏÁö ¾Ê°í Ãâ·ÂÀ» ÆÄÀÏ file¿¡ ÀúÀåÇÑ´Ù. ÀÌ ¿É¼ÇÀ» »ç¿ëÇÏ¸é ¿ÀÁ÷ ÇÑ°³ÀÇ objfile ¾Æ±Ô¸ÕÆ®¸¸ÀÌ °¡´ÉÇÏ´Ù.
-p
--preserve-dates
Preserve the access and modification dates of the file.
ÆÄÀÏÀÇ Á¢±Ù½Ã°£°ú ¼öÁ¤½Ã°£À» ±×´ë·Î À¯ÁöÇÑ´Ù.
-x
--discard-all
Remove non-global symbols.
Àü¿ª ½Éº¼ÀÌ ¾Æ´Ñ ½Éº¼À» Á¦°ÅÇÑ´Ù.
-X
--discard-locals
Remove compiler-generated local symbols. (These usually start with `L' or `.'.)
ÄÄÆÄÀÏ·¯°¡ »ý¼ºÇÑ Áö¿ª ½Éº¼À» Á¦°ÅÇÑ´Ù. (º¸Åë `L'À̳ª `.'À¸·Î ½ÃÀÛÇÑ´Ù.)
-V
--version
Show the version number for strip.
stripÀÇ ¹öÀüÀ» Ãâ·ÂÇÑ´Ù.
-v
--verbose
Verbose output: list all object files modified. In the case of archives, `strip -v' lists all members of the archive.
ÀÚ¼¼ÇÑ Ãâ·Â: ¼öÁ¤µÇ´Â ¸ðµç ¿ÀºêÁ§Æ® ÆÄÀÏÀ» Ãâ·ÂÇÑ´Ù. ¾ÆÄ«À̺êÀÇ °æ¿ì ¸ðµç ¸â¹ö¸¦ Ãâ·ÂÇÑ´Ù.


Go to the first, previous, next, last section, table of contents.