]> git.eshelyaron.com Git - emacs.git/commitdiff
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
authorJim Blandy <jimb@redhat.com>
Tue, 3 Aug 1993 07:28:04 +0000 (07:28 +0000)
committerJim Blandy <jimb@redhat.com>
Tue, 3 Aug 1993 07:28:04 +0000 (07:28 +0000)
* 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.

src/m/7300.h

index ae03027ed5e185608d06de330b8c8c75390be90d..ae07264dd8824fd4b929a10bf3b4378ef00a814c 100644 (file)
@@ -74,7 +74,26 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0) */
 
+#ifdef __GNUC__
+
+#define HAVE_ALLOCA
+
+#else
+
 #define SWITCH_ENUM_BUG
+#define C_ALLOCA
+#define STACK_DIRECTION -1
+
+#endif
+
+/* If you have the PD pty driver installed, uncomment the following line.  */
+/* #define HAVE_PTYS */
+
+#define HAVE_SYSVIPC
+#define USE_UTIME
+
+/* We don't have memmove.  */
+#define memmove(d, s, n) safe_bcopy (s, d, n)
 
 /* These three lines were new in 18.50.  They were said to permit
    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.  */
 #define SECTION_ALIGNMENT 0x03ff
 #define SEGMENT_MASK 0xffff
 #define LD_SWITCH_MACHINE -z
+
+/* Insist on using cc when compiling this.  GCC may have been
+   configured to use GAS syntax, which causes problems.  */
+#define CRT0_COMPILE cc -c