Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ squash(VI) — UNIX 1BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ld (I)

SQUASH(VI)  −  PWB/UNIX 8/24/77

NAME

squash − reduce object file size

SYNOPSIS

squash file ... 

DESCRIPTION

Squash invokes the loader to reduce the size of the argument files.  It is equivalent to the shell script:

: loop
if $1x = x exit
ld −S −X −r −o x.out $1
mv x.out $1
goto loop

but is faster and checks for errors. The resulting objects will load faster. Squash is especially appropriate for routines which are to be in a library. 

SEE ALSO

ld (I)

AUTHOR

William Joy

BUGS

Squash will break links to the squashed files. 

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