comparison src/s/sunos4-0.h @ 157:6b37e6ddd302 r20-3b5

Import from CVS: tag r20-3b5
author cvs
date Mon, 13 Aug 2007 09:40:41 +0200
parents 43dd3413c7c7
children 0132846995bd
comparison
equal deleted inserted replaced
156:60baf0b43294 157:6b37e6ddd302
29 # define START_FILES 29 # define START_FILES
30 # define LD_CMD $(CC) 30 # define LD_CMD $(CC)
31 # ifndef LD_SWITCH_SYSTEM 31 # ifndef LD_SWITCH_SYSTEM
32 # ifdef USE_GCC 32 # ifdef USE_GCC
33 /* of course gcc has to take different args than the rest of the universe */ 33 /* of course gcc has to take different args than the rest of the universe */
34 # define LD_SWITCH_SYSTEM -static 34 # define LD_SWITCH_SYSTEM "-static"
35 # else 35 # else
36 # define LD_SWITCH_SYSTEM -Bstatic 36 # define LD_SWITCH_SYSTEM "-Bstatic"
37 # endif 37 # endif
38 # endif 38 # endif
39 # define UNEXEC unexsunos4.o 39 # define UNEXEC "unexsunos4.o"
40 #endif 40 #endif
41 41
42 #define RUN_TIME_REMAP 42 #define RUN_TIME_REMAP
43 43
44 /* these don't matter, but we have to define something to keep 44 /* these don't matter, but we have to define something to keep
46 #define TEXT_START 0 46 #define TEXT_START 0
47 #define DATA_START 0 47 #define DATA_START 0
48 48
49 /* XEmacs change -- Sun CC needs this to default to ANSI */ 49 /* XEmacs change -- Sun CC needs this to default to ANSI */
50 #if __SUNPRO_C 50 #if __SUNPRO_C
51 #define C_SWITCH_SYSTEM -Xa 51 #define C_SWITCH_SYSTEM "-Xa"
52 #endif 52 #endif
53 53
54 /* #### XEmacs: #define of SYSTEM_MALLOC removed. Is this OK? FSF says: 54 /* #### XEmacs: #define of SYSTEM_MALLOC removed. Is this OK? FSF says:
55 55
56 In SunOS 4.1, a static function called by tzsetwall reportedly 56 In SunOS 4.1, a static function called by tzsetwall reportedly
67 be things that are Posix but not ANSI?) You're in a maze of twisty 67 be things that are Posix but not ANSI?) You're in a maze of twisty
68 little standards, all alike... 68 little standards, all alike...
69 */ 69 */
70 /* Since lcc is not going to be heavily used anymore if it ever was, I'm 70 /* Since lcc is not going to be heavily used anymore if it ever was, I'm
71 putting broken-sun.h back in. */ 71 putting broken-sun.h back in. */
72 #include "broken-sun.h" 72 #include "../broken-sun.h"
73 extern char *strdup (); 73 extern char *strdup ();
74 extern char *ttyname (int); 74 extern char *ttyname (int);
75 extern void tzsetwall (void); 75 extern void tzsetwall (void);
76 extern int getpagesize (void); 76 extern int getpagesize (void);
77 77