Some linkers can write symbol tables into executable files for the aid of debuggers and other programming tools.
strip removes symbolic information (and other information not required for execution) from an executable file with a view to conserving disk space for production (that is, already debugged) programs. The Windows executable headers indicate how much data should be in an executable file. strip removes all data that should not be there. Thus it should successfully remove any symbol table; however, any executable which uses data outside its executable image, fails.
Normally, attempting to use strip on an executable which
contains a digital certificate results in an error. You can use
forces the executable to be stripped even if a digital certificate is present.
preserves the timestamp of file.
Possible exit status values are:
Failure due to any of the following:
No file was specified on the command line.
- file "name": system error
The named executable file does not exist or is unreadable.
- Cannot create temporary file
- Output error (no space) on file
There is insufficient disk space to hold a temporary copy of the executable file. For implementation reasons, strip makes a copy of each file being stripped.
- File "name": not in executable format
This is a warning that file name is not modified.
POSIX.2. x/OPEN Portability Guide 4.0. All UNIX systems. Windows 7. Windows Server 2008 R2. Windows 8. Windows Server 2012. Windows 10. Windows Server 2016.
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 Documentation Build 15.