|
|
1.1 root 1: /* vax running UNIX v9 at Bell Labs */
2:
3: #include <string.h>
4:
5: char *cpp[] = { "/usr/lib/gcc-cpp", "-undef", "-Dvax", "-DV9", "$1", "$2", "$3", 0 };
6: char *include[] = { "-I/usr/include/libc", "-I/usr/include/lcc", 0 };
7: char *com[] = { "/usr/lib/rcc", "$1", "$2", "$3", 0 };
8: char *as[] = { "/bin/as", "-o", "$3", "$1", "$2", 0 };
9: char *ld[] = { "/bin/ld", "-o", "$3", "/lib/crt0.o", "-X", "$1", "$2", "", "-lc", 0 };
10:
11: int option(arg) char *arg; {
12: if (strcmp(arg, "-g") == 0)
13: ;
14: else if (strcmp(arg, "-p") == 0) {
15: ld[3] = "/lib/mcrt0.o";
16: } else if (strcmp(arg, "-b") == 0)
17: ld[7] = "/usr/lib/bbexit.o";
18: else
19: return 0;
20: return 1;
21: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.