summaryrefslogtreecommitdiff
path: root/src/m/sun3-soft.h
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1991-12-13 18:50:18 +0000
committerJim Blandy <jimb@redhat.com>1991-12-13 18:50:18 +0000
commitc0f93c869aa077aea6a15f747d3a691d4244e7f5 (patch)
tree1973b056d8abe57e951c1c84ee1876e4cdd44fda /src/m/sun3-soft.h
parentd7fcacc2ce27f347b967e394d3de29bcb49eaa22 (diff)
downloademacs-c0f93c869aa077aea6a15f747d3a691d4244e7f5.tar.gz
entered into RCS
Diffstat (limited to 'src/m/sun3-soft.h')
-rw-r--r--src/m/sun3-soft.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/m/sun3-soft.h b/src/m/sun3-soft.h
new file mode 100644
index 00000000000..05a1e9e7f49
--- /dev/null
+++ b/src/m/sun3-soft.h
@@ -0,0 +1,29 @@
+/* sun3-soft.h, for a Sun 3, using the Sun with software floating point. */
+
+#include "sun3.h"
+
+/* The following line tells the configuration script what sort of
+ operating system this machine is likely to run.
+ USUAL-OPSYS="note"
+
+NOTE-START
+Sun with software floating point (-machine=sun3-soft;
+ -opsystem=bsd4-2 or -opsystem=sunos4)
+
+ Versions 1, 2, and 3 of the operating system are derived from
+ Berkeley 4.2, meaning that you should use -opsystem=bsd4-2.
+
+ If you want to use software floating point on SunOS release 4 on a
+ Sun 3, use -machine=sun3-68881 and -opsystem=sunos4. See the file
+ share-lib/SUNBUG for how to solve problems caused by bugs in the
+ "export" version of SunOS 4.
+NOTE-END */
+
+/* In case we are using floating point, work together with crt0.c. */
+
+#ifndef __GNUC__
+#define C_SWITCH_MACHINE -fsoft
+#endif
+
+#define sun_soft
+#define START_FILES crt0.o /usr/lib/Fcrt1.o