|
|
1.1 ! root 1: /* big-endian MIPS running MIPS's UNIX System V in Applied Math at Princeton U. */ ! 2: ! 3: #include <string.h> ! 4: ! 5: char *cpp[] = { "/lib/cpp", "-DLANGUAGE_C", "-D_LANGUAGE_C", ! 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", "/lib/crt1.o", "$1", "$2", "", "", ! 12: "-lc", "/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] = "/lib/mcrt1.o"; ! 19: ld[6] = "/usr/lib/cmplrs/cc/libprof1.a"; ! 20: } else ! 21: return 0; ! 22: return 1; ! 23: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.