summaryrefslogtreecommitdiff
path: root/web/glasgow/lit2x-0.16/mkworld/plat-mipsriscos.jm
blob: 472a264fa7fed875f1fd96d858da69522bcef50c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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