DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

cprs(CP)


cprs -- compress an object file

Syntax

cprs [-b format] [-p] infile outfile

Description

The cprs(CP) command reduces the size of an object file, infile, by removing duplicate structure and union descriptors. Its output is the reduced object file, outfile. Both Common Object File Format (COFF) and Executable and Linking Format (ELF) are supported and are the only supported formats.

The options to cprs are:


-b format
When this option is given, cprs does not scan the object file infile to determine its file format before compressing it; instead, cprs assumes that the file format of infile is format. The option argument format can be any one of COFF, iBCS2 and ELF. Here iBCS2 is equivalent to COFF. Case of format is not significant.

-p
Print statistical messages, including total number of tags, total duplicate tags, and total reduction of infile.

See also

a.out(FP), strip(CP), syms(FP)

Standards conformance

cprs(CP) is not part of any currently supported standard; it is an extension of AT&T System V that is maintained by The SCO Group.
© 2005 Commands for Programming (CP)
SCO OpenServer Release 6.0.0 -- 02 June 2005