date and time created 88/10/22 16:17:55 by bostic
[unix-history] / usr / src / old / man / old.8
CommitLineData
3a8113b3
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5.\" @(#)old.8 4.1 (Berkeley) %G%
6.\"
7.TH OLD 8 "4/1/81"
8.UC 4
9.SH NAME
10old \- directory of old programs
11.SH SYNOPSIS
12.B /usr/old/bin
13.br
14.B /usr/old/include
15.br
16.B /usr/old/lib
17.sp
18.B /usr/old/cc \-I/usr/old/include
19\&...
20.SH DESCRIPTION
21After the 3rd Berkeley Distribution,
22the formats for binary and archive files were changed.
23The binaries were modified to allow arbitrary length symbols,
24which required adding a string table
25at the end of the symbol table,
26and having symbol table entries point into the names in that table.
27The archive was modified to be a portable format,
28using strings instead of binary numbers,
29to avoid problems of different sizes of integers
30on different machines.
31These changes are incompatible with
32older formats.
33.PP
34.B /usr/old
35is the root of a hierarchy of
36binaries,
37include files,
38and libraries
39in the old
40binary and archive formats.
41They contain a complete set of programs and files
42necessary for people
43who need to deal
44with the original \s-2UNIX\s+2
45formats.
46.PP
47In order to create new binaries in the old format,
48one must include the right header files.
49For example,
50to create a program called \*(lqfoo\*(rq
51which uses the old math library
52in the old format,
53say
54.br
55.IP
56.B /usr/old/cc \-I/usr/old/include
57[
58.I flags
59] foo.c
60.B \-lm
61.SH "SEE ALSO"
62arcv(8), ar(1), cc(1), a.out(5), ar(5)
63.SH BUGS