Mercurial > hg > xemacs-beta
comparison src/m/sparc.h @ 151:59463afc5666 r20-3b2
Import from CVS: tag r20-3b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:37:19 +0200 |
parents | 538048ae2ab8 |
children | 3bb7ccffb0c0 |
comparison
equal
deleted
inserted
replaced
150:8ebb1c0f0f6f | 151:59463afc5666 |
---|---|
40 # ifndef sparc | 40 # ifndef sparc |
41 # define sparc | 41 # define sparc |
42 # endif | 42 # endif |
43 #endif | 43 #endif |
44 | 44 |
45 #ifdef __GNUC__ | |
46 # define C_OPTIMIZE_SWITCH -O | |
47 #else | |
48 /* XEmacs change */ | |
49 # ifdef USE_LCC | |
50 # define C_OPTIMIZE_SWITCH -O4 -Oi | |
51 # else | |
52 /* This level of optimization is reported to work. */ | |
53 # define C_OPTIMIZE_SWITCH -O2 | |
54 # endif | |
55 #endif | |
56 | |
57 /* XINT must explicitly sign-extend */ | 45 /* XINT must explicitly sign-extend */ |
58 | 46 |
59 #define EXPLICIT_SIGN_EXTEND | 47 #define EXPLICIT_SIGN_EXTEND |
60 | 48 |
61 /* Data type of load average, as read out of kmem. */ | 49 /* Data type of load average, as read out of kmem. */ |
64 | 52 |
65 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 53 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
66 | 54 |
67 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | 55 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) |
68 | 56 |
69 /* Must use the system's termcap, if we use any termcap. | |
70 It does special things. */ | |
71 | |
72 #ifndef LIBS_TERMCAP | |
73 #ifndef TERMINFO | |
74 #define LIBS_TERMCAP -ltermcap | |
75 #endif | |
76 #endif | |
77 | |
78 /* Mask for address bits within a memory segment */ | 57 /* Mask for address bits within a memory segment */ |
79 | 58 |
80 #define SEGMENT_MASK (SEGSIZ - 1) | 59 #define SEGMENT_MASK (SEGSIZ - 1) |
81 | |
82 /* Arrange to link with sun windows, if requested. */ | |
83 /* For details on emacstool and sunfns, see etc/SUN-SUPPORT */ | |
84 /* These programs require Sun UNIX 4.2 Release 3.2 or greater */ | |
85 | |
86 #ifdef HAVE_SUN_WINDOWS | |
87 #define OTHER_FILES ${etcdir}emacstool | |
88 #define LIBS_MACHINE -lsuntool -lsunwindow -lpixrect | |
89 #define OBJECTS_MACHINE sunfns.o | |
90 #define SYMS_MACHINE syms_of_sunfns () | |
91 #define SYSTEM_PURESIZE_EXTRA 10000 | |
92 #endif | |
93 | 60 |
94 #ifndef __NetBSD__ | 61 #ifndef __NetBSD__ |
95 #ifndef __linux__ | 62 #ifndef __linux__ |
96 /* This really belongs in s/sun.h. */ | 63 /* This really belongs in s/sun.h. */ |
97 | 64 |