Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

MPW Command Reference


shlb2stub

Script

SYNTAX

shlb2stub inputFile [-o fileName] [-p]

DESCRIPTION

shlb2stub is a script that can be used to automate the process of creating a stub library (file type 'stub') from an existing shared library (file type 'shlb').

INPUT

The input file should be a shared library, in PEF format, containing one or more code fragments.

OUTPUT

shlb2stub will create a corresponding stub library that contains only the information necessary for linking (i.e. exported symbols and version information). By default, the name of the output file will be the same as the input file but with a ".stub" extension added. (This can be overridden by the -o option.)

STATUS

shlb2stub can return the following status codes:

0

no errors

1

command line parameter error

2

fatal error

PARAMETERS

inputFile

Specifies a shared library file, in PEF format, containing one or more shared library code fragments.

OPTIONS

-o fileName

Specifies the name of the output file. The default output file name is the name of the input file with a ".stub" extension added.

-p

Writes progress and summary information to diagnostic output.

SEE ALSO

MakeStub

 
 


Last Updated July 2000