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.
오브젝트 파일 objfilebfdname 형식으로 쓰여졌다고 알리고, 같은 형식으로 출력한다. 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.
오브젝트 파일 objfilebfdname 형식으로 쓰여졌다고 알린다. 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.