|
|
1.1 ! root 1: /* SGI big-endian MIPSes (Indigos) running IRIX 4.0.1 at U Utah */ ! 2: /* from Nelson H. F. Beebe <[email protected]> */ ! 3: ! 4: #include <string.h> ! 5: ! 6: char *cpp[] = { ! 7: "/usr/local/lib/gcc-cpp", ! 8: /* These options match the output of "cc -v -E foo.c" on IRIX 4.0.1 */ ! 9: "-undef", ! 10: "-D__EXTENSIONS__", ! 11: /* "-trigraphs", /* uncomment to get trigraphs */ ! 12: "-undef", ! 13: "-p", ! 14: "-DLANGUAGE_C", ! 15: "-D_LANGUAGE_C", ! 16: "-Dsgi", ! 17: "-DSVR3", ! 18: "-D__sgi", ! 19: "-D__SVR3", ! 20: "-Dunix", ! 21: "-Dmips", ! 22: "-Dhost_mips", ! 23: "-D__unix", ! 24: "-D__mips", ! 25: "-D__host_mips", ! 26: "-DSYSTYPE_SYSV", ! 27: "-D_SYSTYPE_SYSV", ! 28: "-D_MIPSEB", ! 29: "-DMIPSEB", ! 30: "$1", ! 31: "$2", ! 32: "$3", ! 33: 0 ! 34: }; ! 35: ! 36: char *com[] = { "/usr/local/lib/rcc", "$1", "$2", "$3", 0 }; ! 37: char *include[] = { "-I/usr/local/include/ansi", "-I/usr/include", 0 }; ! 38: char *as[] = { "/usr/bin/as", "-o", "$3", "$1", "-nocpp", "$2", 0 }; ! 39: char *ld[] = { "/usr/bin/ld", "-o", "$3", "/usr/lib/crt1.o", "$1", "$2", "", ! 40: "-lc", "/usr/lib/crtn.o", 0 }; ! 41: ! 42: int option(arg) char *arg; { ! 43: if (strcmp(arg, "-g") == 0) ! 44: ; ! 45: else if (strcmp(arg, "-p") == 0) { ! 46: ld[3] = "/usr/lib/mcrt1.o"; ! 47: ld[6] = "-lprof1"; ! 48: } else ! 49: return 0; ! 50: return 1; ! 51: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.