diff options
| author | Jim Blandy | 1993-08-03 07:28:04 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-08-03 07:28:04 +0000 |
| commit | e3a7436e6ff694c05195b4861e63c1930ba3f532 (patch) | |
| tree | 6d89f1dd6ca9975f9124f9003ad6ae133953fdb4 /src/m | |
| parent | f3f31ccf987cfe869948af93bb462e5d6ec0d924 (diff) | |
| download | emacs-e3a7436e6ff694c05195b4861e63c1930ba3f532.tar.gz emacs-e3a7436e6ff694c05195b4861e63c1930ba3f532.zip | |
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
* 7300.h [__GNUC__]: #define HAVE_ALLOCA.
[not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION.
(HAVE_SYSVIPC, USE_UTIME): #define these.
(memmove): We don't have this; call safe_bcopy.
(CRT0_COMPILE): #define this, so we always use the system's cc.
* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
* ymakefile (crt0.o): Replace the compiler and switches with the
symbol CRT0_COMPILE.
(CRT0_COMPILE): If the system and machine description files have
left this undefined, then define it to do the same as the old
crt0.o rule used to.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/7300.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/m/7300.h b/src/m/7300.h index ae03027ed5e..ae07264dd88 100644 --- a/src/m/7300.h +++ b/src/m/7300.h | |||
| @@ -74,7 +74,26 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 74 | 74 | ||
| 75 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ | 75 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */ |
| 76 | 76 | ||
| 77 | #ifdef __GNUC__ | ||
| 78 | |||
| 79 | #define HAVE_ALLOCA | ||
| 80 | |||
| 81 | #else | ||
| 82 | |||
| 77 | #define SWITCH_ENUM_BUG | 83 | #define SWITCH_ENUM_BUG |
| 84 | #define C_ALLOCA | ||
| 85 | #define STACK_DIRECTION -1 | ||
| 86 | |||
| 87 | #endif | ||
| 88 | |||
| 89 | /* If you have the PD pty driver installed, uncomment the following line. */ | ||
| 90 | /* #define HAVE_PTYS */ | ||
| 91 | |||
| 92 | #define HAVE_SYSVIPC | ||
| 93 | #define USE_UTIME | ||
| 94 | |||
| 95 | /* We don't have memmove. */ | ||
| 96 | #define memmove(d, s, n) safe_bcopy (s, d, n) | ||
| 78 | 97 | ||
| 79 | /* These three lines were new in 18.50. They were said to permit | 98 | /* These three lines were new in 18.50. They were said to permit |
| 80 | a demand-paged executable, but someone else says they don't work. | 99 | a demand-paged executable, but someone else says they don't work. |
| @@ -84,3 +103,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 84 | #define SECTION_ALIGNMENT 0x03ff | 103 | #define SECTION_ALIGNMENT 0x03ff |
| 85 | #define SEGMENT_MASK 0xffff | 104 | #define SEGMENT_MASK 0xffff |
| 86 | #define LD_SWITCH_MACHINE -z | 105 | #define LD_SWITCH_MACHINE -z |
| 106 | |||
| 107 | /* Insist on using cc when compiling this. GCC may have been | ||
| 108 | configured to use GAS syntax, which causes problems. */ | ||
| 109 | #define CRT0_COMPILE cc -c | ||