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