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

1.1       root        1: /* big-endian MIPS running MIPS's UNIX System V at Princeton U. */
                      2: 
                      3: #include <string.h>
                      4: 
                      5: char *cpp[] = { "/usr/gnu/lib/gcc-cpp", "-undef", "-nostdinc", "-DLANGUAGE_C",
                      6:        "-Dmips", "-Dhost_mips", "-DSYSTYPE_BSD43", "-DMIPSEB",
                      7:        "$1", "$2", "$3", 0 };
                      8: char *com[] = { "/usr/local/lib/rcc", "$1", "$2", "$3", 0 };
                      9: char *include[] = { "-I/usr/local/include/ansi", "-I/bsd43/usr/include2.0",
                     10:        "-I/bsd43/usr/include", 0 };
                     11: char *as[] = { "/usr/bin/as", "-o", "$3", "$1", "-nocpp", "$2", 0 };
                     12: char *ld[] = { "/usr/bin/ld", "-systype", "/bsd43/", "-o", "$3",
                     13:        "/bsd43/usr/lib/cmplrs/cc/crt1.o", "$1", "$2", "",
                     14:        "/sysv/usr/lib/libc.a", "-lc", "/bsd43/usr/lib/cmplrs/cc/crtn.o", 0 };
                     15: 
                     16: int option(arg) char *arg; {
                     17:        if (strcmp(arg, "-g") == 0)
                     18:                ;
                     19:        else if (strcmp(arg, "-p") == 0) {
                     20:                ld[5] = "/bsd43/usr/lib/cmplrs/cc/mcrt1.o";
                     21:                ld[8] = "/bsd43/usr/lib/cmplrs/cc/libprof1.a";
                     22:        } else
                     23:                return 0;
                     24:        return 1;
                     25: }

unix.superglobalmegacorp.com

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