|
|
1.1 ! root 1: /* Suns running Sun UNIX 4.0 at Princeton University */ ! 2: ! 3: #include <string.h> ! 4: ! 5: char *cpp[] = { "/usr/gnu/lib/gcc-cpp", "-undef", "-Dsun", "-Dmc68020", "$1", "$2", "$3", 0 }; ! 6: char *include[] = { "-I/usr/local/include/ansi", 0 }; ! 7: char *com[] = { "/usr/local/lib/rcc", "$1", "$2", "$3", 0 }; ! 8: char *as[] = { "/bin/as", "-o", "$3", "$1", "-mc68020", "$2", 0 }; ! 9: char *ld[] = { "/bin/ld" , "-o", "$3", "-dc", "-dp", "-e", "start", "-X", "/usr/lib/crt0.o", ! 10: "/usr/lib/Mcrt1.o", "-L/usr/lib/f68881", "$1", "$2", "-lm", "", "-lc", 0 }; ! 11: ! 12: int option(arg) char *arg; { ! 13: if (strcmp(arg, "-g") == 0) ! 14: ld[14] = "-lg"; ! 15: else if (strcmp(arg, "-p") == 0) { ! 16: ld[8] = "/usr/lib/mcrt0.o"; ! 17: ld[15] = "-lc_p"; ! 18: } else if (strcmp(arg, "-pg") == 0) { ! 19: ld[8] = "/usr/lib/gcrt0.o"; ! 20: ld[15] = "-lc_p"; ! 21: } else if (strcmp(arg, "-f68881") == 0) ! 22: ; ! 23: else ! 24: return 0; ! 25: return 1; ! 26: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.