Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cc(1)

ld(1)

a.out(5)

SCC(1)  —  UNIX 3.0

NAME

scc − C compiler for stand-alone programs

SYNOPSIS

scc [ + [ lib ] ] [ option ] ... [ file ] ... 

DESCRIPTION

Scc prepares the named files for stand-alone execution.  The option and file arguments may be anything that can legally be used with the cc command; it should be noted, though, that the −p (profiling) option, as well as any object module that contains system calls, will cause the executable not to run. 

Scc defines the compiler constant, STANDALONE, so that sections of C programs may be compiled conditionally for when the executable will be run stand-alone. 

The first argument specifies an auxiliary library that defines the device configuration of the PDP-11 computer for which the stand-alone executable is being prepared.  Lib may be one of the following:

A RP04/05/06 disk and TU16 magnetic tape, or equivalent

B RK11/RK05 disk, RP11/RP03 disk, and TM11/TU16 magnetic tape, or equivalent

If no +lib argument is specified, +A is assumed.  If the + argument is specified alone, no configuration library is loaded unless the user supplies his own. 

FILES

/lib/crt20.oexecution start-off
/usr/lib/lib2.astand-alone library
/usr/lib/lib2A.a+A configuration library(PDP-11 only)
/usr/lib/lib2B.a+B configuration library(PDP-11 only)

SEE ALSO

cc(1), ld(1), a.out(5). 
A Stand-alone Input/Output Library, by S. R. Eisen.

May 16, 1980

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