|
|
1.1 ! root 1: /* SGI big-endian MIPSes running IRIX at Princeton University */ ! 2: ! 3: #include <string.h> ! 4: ! 5: char *cpp[] = { "/usr/gnu/lib/gcc-cpp", "-undef", "-DLANGUAGE_C", "-D_LANGUAGE_C", "-Dsgi", "-DSVR3", ! 6: "-Dmips", "-Dhost_mips", "-DSYSTYPE_SYSV", "-D_SYSTYPE_SYSV", "-DMIPSEB", "-D_MIPSEB", ! 7: "$1", "$2", "$3", 0 }; ! 8: char *com[] = { "/usr/local/lib/rcc", "$1", "$2", "$3", 0 }; ! 9: char *include[] = { "-I/usr/local/include/ansi", 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: "-lc", "/usr/lib/crtn.o", 0 }; ! 13: ! 14: static char *libprefix = "/cmnusr/local/lib/ldb/"; ! 15: extern char *concat(); ! 16: ! 17: int option(arg) char *arg; { ! 18: if (strcmp(arg, "-g") == 0) ! 19: ; ! 20: else if (strcmp(arg, "-p") == 0) { ! 21: ld[3] = "/usr/lib/mcrt1.o"; ! 22: ld[7] = "-lprof1"; ! 23: } else if (strcmp(arg, "-b") == 0 && access("/usr/local/lib/bbexit.o", 4) == 0) ! 24: ld[6] = "/usr/local/lib/bbexit.o"; ! 25: else if (strcmp(arg, "-G") == 0 && strcmp(ld[3], "/usr/lib/crt1.o") == 0) { ! 26: com[0] = concat(libprefix, "iris/rcc"); ! 27: ld[0] = "/cmnusr/local/lib/ldb/ldb-ld"; ! 28: ld[3] = concat(libprefix, "iris/crt1.o"); ! 29: ld[7] = concat(libprefix, "iris/Cnub.o"); ! 30: } else ! 31: return 0; ! 32: return 1; ! 33: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.