Commit | Line | Data |
---|---|---|
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 | |
10 | old \- 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 | |
21 | After the 3rd Berkeley Distribution, | |
22 | the formats for binary and archive files were changed. | |
23 | The binaries were modified to allow arbitrary length symbols, | |
24 | which required adding a string table | |
25 | at the end of the symbol table, | |
26 | and having symbol table entries point into the names in that table. | |
27 | The archive was modified to be a portable format, | |
28 | using strings instead of binary numbers, | |
29 | to avoid problems of different sizes of integers | |
30 | on different machines. | |
31 | These changes are incompatible with | |
32 | older formats. | |
33 | .PP | |
34 | .B /usr/old | |
35 | is the root of a hierarchy of | |
36 | binaries, | |
37 | include files, | |
38 | and libraries | |
39 | in the old | |
40 | binary and archive formats. | |
41 | They contain a complete set of programs and files | |
42 | necessary for people | |
43 | who need to deal | |
44 | with the original \s-2UNIX\s+2 | |
45 | formats. | |
46 | .PP | |
47 | In order to create new binaries in the old format, | |
48 | one must include the right header files. | |
49 | For example, | |
50 | to create a program called \*(lqfoo\*(rq | |
51 | which uses the old math library | |
52 | in the old format, | |
53 | say | |
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" | |
62 | arcv(8), ar(1), cc(1), a.out(5), ar(5) | |
63 | .SH BUGS |