14.7.3 Options
The long and short forms of options, shown in the following table as alternatives, are equivalent.
Option | Function |
---|---|
-g
|
Remove debugging symbols only. |
--help |
Show a summary of the options to xc32-strip and exit. |
-K
symbolname
|
Keep only symbol
symbolname from the source file. This
option may be given more than once. |
-N
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 . |
-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. |
-p
|
Preserve the access and modification dates of the file. |
-R
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. |
-s
|
Remove all symbols. |
--strip-unneeded |
Remove all symbols that are not needed for relocation processing. |
-v
|
Verbose output: list all object files modified. In the case of archives, xc32-strip -v lists all members of the archive. |
-V
|
Show the version number for xc32-strip . |
-x
|
Remove non-global symbols. |
-X
|
Remove compiler-generated local symbols.
(These usually start with L or a dot
(. ). |