Annotation of researchv10no/cmd/lcc/etc/lotus.c, revision 1.1.1.1

1.1       root        1: /* SGI big-endian MIPSes running IRIX at University of Utah */
                      2: 
                      3: #include <string.h>
                      4: 
                      5: char *cpp[] = { "/u/drh/bin/mipseb/gcc-cpp", "-undef", "-DLANGUAGE_C",
                      6:        "-Dmips", "-Dhost_mips", "-Dsgi", "-DSYSTYPE_SYSV", "-DMIPSEB",
                      7:        "$1", "$2", "$3", 0 };
                      8: char *com[] = { "/u/drh/bin/mipseb/rcc", "$1", "$2", "$3", 0 };
                      9: char *include[] = { "-I/u/drh/include/mips_iris", 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: 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[6] = "-lprof1";
                     20:        } else
                     21:                return 0;
                     22:        return 1;
                     23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.