Download SUN User`s Guide

Transcript
JVl'(
YV/\l<,C
3
lJl:VELOPMENT ON UNIX
2. Software Development on Unix
Currently our development work is being done on a VAX 3 computer nmning the Unix operating system.
With any luck, Unix may soon be nmning on the 68000 itself. '
2.1. Organization of SUN directories
Common SUN software is stored in subdirectories under one master directory. For
example~
on the
Stanford VAxes Shasta and Diablo, this directory is Ius r I sun. The. following is a description of these
subdirectories, using the notation relative to Ius r I sun, or whatever it happens to be called on your system.
Every source file should contain a comment ncar the begining describing the author, date, and purpose of the
fue .
.Iadmin
Administrative records, and a wishlist.
.tbin
Binary files for Sunix commands. Complain to Vaughan about documenting Sunix•
.lbootfile
Standard boot-format files. The production copies of stand-alone programs reside here.
This is the default directory for the SUN boot server. "Test" versions are put in the
subdirectory te s t, not in the main directory.
.Idm
Fires to support the Motorola Design Module. Includes. d 1 fonnat files of some
programs that run on the design module. Read chapter 5 for more infonnation on the
support for the design module.
.Idm/lib
Object library files specific to the design module .
.Idm/include
Header files specific to the design module.
.Idoc
cOverv~w documentation. The document you are reading now resides here. Some other
documentation exists in subdirectories of this.
.Idoc/graphics
Descrip tion of a Raster-op level graphics package.
.Ii nc1u de
Header files, used by the #; nc 1 ude directive of the C preprocessor. See section 2.3 for
more information.
.!lib
Object libraries. These are searched by the -1 option of ee6S. Some of these are
described near the end of this chapter.
.Iman68
Master copies of manual pages describing Unix commands. See next section for details on
these commands.
3VAX is a trademark of Digital Equipment Corporation
11 DECEMBER 1981