|
|
1.1 root 1: /* big-endian MIPS running SGI's UNIX System V at Bell Labs */
2:
3: #include <string.h>
4: #include "conf.h"
5:
6: char *cpp[] = { "/v/lib/gcc-cpp", "-undef", "-DLANGUAGE_C", "-Dsgi", "-DSVR3",
7: "-Dmips", "-Dhost_mips", "-DSYSTYPE_SYSV", "-DMIPSEB", "$1", "$2", "$3", 0 };
8: char *com[] = { "/v/lib/rcc", "$1", "$2", "$3", 0 };
9: char *include[] = { APEINC, 0 };
10: char *as[] = { "/usr/bin/as", "-o", "$3", "$1", "-nocpp", "$2", 0 };
11: char *ld[] = { "/usr/bin/ld", "-o", "$3", "/usr/lib/crt1.o", "$1", "$2", "", "",
12: APELIBS, "/usr/lib/crtn.o", 0 };
13:
14: int option(arg) char *arg; {
15: if (strcmp(arg, "-g") == 0)
16: ;
17: else if (strcmp(arg, "-p") == 0) {
18: ld[3] = "/usr/lib/mcrt1.o";
19: ld[7] = "-lprof1";
20: } else if (strcmp(arg, "-b") == 0)
21: ld[6] = "/v/lib/bbexit.o";
22: else
23: return 0;
24: return 1;
25: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.