Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lipo(1) — NeXTSTEP 3.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LIPO(1)  —  UNIX Programmer’s Manual

NAME

lipo − create, thin and operate on fat files

SYNOPSIS

lipo [−info] [−detailed_info] [−arch arch_type input_file] ... [ input_file] ... [−create] [−thin arch_type] [−replace arch_type filename] ... [−remove arch_type] ... [−extract arch_type] ... [−output output_file] [−segalign arch_type value] ...

DESCRIPTION

Lipo creates, thins and operates on fat files.  lipo only ever produces one output file.  The operations that lipo preforms are: list the architecture types in a fat file (brief or detailed), creates a single fat file from one or more input files, thins out a single fat file input to one specified architecture type, operates on one input file extracting, replacing and or removing architectures types from the input file creating a single new fat output file. 

For the architecture specification flags currently supported see the man page arch(3). 

The options to lipo(1) are:

−info List the architecture types in input fat file in the brief format (just the names of each architecture in the file). 

−detailed_info
List the architecture types in input fat file in the detailed format (all the the information in the fat header for each architecture in the file).

−arch arch_type input_file or input_file
Specifies the file input_file as an input file with the specified, arch_type architecture.  If the input file is an object file, a fat file or some file lipo(1) can figure out what architecture(s) are contained in it then the architecture type specification is not required.  The input_file argument is required and only the −create option allows more than one input_file argument. 

−output output_file
Specify the file output_file as the output file.  (this option must be specified). 

−create
Takes the input files and creates one fat output file from them.  The output file must be specified and at least one input file must be specified.

−thin arch_type
Takes one input file and create a thin output file for that arch_type.  The result is placed in that file specified by the −output option. 

−replace arch_type file_name
Takes one fat input file and replaces the arch_type in that fat file with the contents of specified file_name.  The result is placed in the file specified by the −output option. 

−remove arch_type
Takes one fat input file and removes the arch_type in that fat file.  The result is placed in the file specified by the −output option. 

−extract arch_type
Takes one fat input file and extracts the arch_type in that fat file.  The result is a fat file placed in the file specified by the −output option.  This is different from the −thin option in that the output is a fat file and does not change the input file. 

−segalign arch_type value
Sets the segment alignment of the specified arch_type when creating a fat file containing that architecture.  value is a hexadecimal number that must be an integral power of 2.  This is only needed when lipo can’t figure out the alignment of an input file (currently not an object file) or guesses at the alignment too conservatively.  The default for files unknown to lipo is 0 (2^0 or an alignment of 1 byte) and the default alignment for archives is 4 (2^2 or 4 byte alignment). 

ALSO SEE

arch(3)

NeXT Computer, Inc.  —  October 22, 1991 (Release 3.1)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026