diff options
Diffstat (limited to 'web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm')
-rw-r--r-- | web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm b/web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm new file mode 100644 index 0000000000..472a264fa7 --- /dev/null +++ b/web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm @@ -0,0 +1,51 @@ +# line 50 "plat-mipsriscos.ljm" +/* + SET VERSION NUMBERS BEFORE MAKING MAKEFILES +*/ + +#define OSMajorVersion 4 +#define OSMinorVersion 51 + +#define CCompilerMajorVersion 2 +#define CCompilerMinorVersion 11 + + +#define BootstrapCFlags -Dmipsriscos + +/* + For BSD environment, need -ltermcap for v?printf. It's not in + the BSD C library! (Yet.) +*/ + +#define InstallCmd /etc/mipsinstall +#define InstFileFlags -f + +#ifndef UsrLibDir +#if SystemV +#define UsrLibDir /usr/lib +#else +#define UsrLibDir /usr/bsd43/usr/lib +#endif +#endif + +#ifndef IncludeRoot +#if SystemV +#define IncludeRoot /usr/include +#else +#define IncludeRoot /usr/include/bsd43 +#endif +#endif + +#define HasVarargs YES +/* + Make sure to use signal semantics that are consistent with + the compilation environment. +*/ +#if SystemV +#define HasVoidSignalReturn YES +#else +#define HasVoidSignalReturn NO +#endif + +/* does this work? or can it be done better? ToDo */ +BUILDPLATFORM=HostPlatform |