#include <string.h>
Include dependency graph for irix.c:

Go to the source code of this file.
Defines | |
| #define | LCCDIR "/usr/local/lib/lcc/" |
Functions | |
| char * | concat (char *, char *) |
| int | option (char *arg) |
Variables | |
| char * | as [] = { "/usr/bin/as", "-o", "$3", "$1", "-nocpp", "-KPIC", "$2", 0 } |
| char * | com [] = { LCCDIR "rcc", "-target=mips/irix", "$1", "$2", "$3", "", 0 } |
| char * | cpp [] |
| char * | include [] |
| char | inputs [256] = "" |
| char * | ld [] |
| char * | suffixes [] = { ".c", ".i", ".s", ".o", ".out", 0 } |
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 49 of file irix.c. References com, concat(), cpp, include, ld, strcmp(), and strncmp(). 00049 {
00050 if (strncmp(arg, "-lccdir=", 8) == 0) {
00051 cpp[0] = concat(&arg[8], "/cpp");
00052 include[0] = concat("-I", concat(&arg[8], "/include"));
00053 com[0] = concat(&arg[8], "/rcc");
00054 ld[17] = concat("-L", &arg[8]);
00055 } else if (strcmp(arg, "-g") == 0)
00056 ;
00057 else if (strcmp(arg, "-p") == 0)
00058 ld[12] = "/usr/lib/mcrt1.o";
00059 else if (strcmp(arg, "-b") == 0)
00060 ;
00061 else
00062 return 0;
00063 return 1;
00064 }
|
Here is the call graph for this function:

|
|
|
|
|
|
|
|
Initial value: { LCCDIR "cpp", "-D__STDC__=1",
"-DLANGUAGE_C",
"-DMIPSEB",
"-DSYSTYPE_SVR4",
"-D_CFE",
"-D_LANGUAGE_C",
"-D_MIPSEB",
"-D_MIPS_FPSET=16",
"-D_MIPS_ISA=_MIPS_ISA_MIPS1",
"-D_MIPS_SIM=_MIPS_SIM_ABI32",
"-D_MIPS_SZINT=32",
"-D_MIPS_SZLONG=32",
"-D_MIPS_SZPTR=32",
"-D_SGI_SOURCE",
"-D_SVR4_SOURCE",
"-D_SYSTYPE_SVR4",
"-D__host_mips",
"-D__mips=1",
"-D__sgi",
"-D__unix",
"-Dhost_mips",
"-Dmips",
"-Dsgi",
"-Dunix",
"$1", "$2", "$3", 0 }
|
|
|
Initial value: { "-I" LCCDIR "include", "-I/usr/local/include",
"-I/usr/include", 0 }
|
|
|
|
|
|
Initial value: { "/usr/bin/ld", "-require_dynamic_link", "_rld_new_interface",
"-elf", "-_SYSTYPE_SVR4", "-Wx,-G", "0", "-g0", "-KPIC", "-dont_warn_unused",
"-o", "$3", "/usr/lib/crt1.o", "-L/usr/local/lib",
"$1", "$2", "", "-L" LCCDIR, "-llcc", "-lc", "-lm", "/usr/lib/crtn.o", 0
}
|
|
|
|
1.3.9.1