summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/i386/xm-sco.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/xm-sco.h')
-rw-r--r--contrib/gcc/config/i386/xm-sco.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/xm-sco.h b/contrib/gcc/config/i386/xm-sco.h
new file mode 100644
index 0000000..01a63d90
--- /dev/null
+++ b/contrib/gcc/config/i386/xm-sco.h
@@ -0,0 +1,22 @@
+/* Configuration for GCC for Intel i386 running SCO. */
+
+#include "i386/xm-sysv3.h"
+
+/* On SCO 3.2.1, ldexp rejects values outside [0.5, 1). */
+
+#define BROKEN_LDEXP
+
+/* Big buffers improve performance. */
+
+#define IO_BUFFER_SIZE (0x8000 - 1024)
+
+/* SCO has a very small ARG_MAX. */
+#define SMALL_ARG_MAX
+
+#ifndef __GNUC__
+/* The SCO compiler gets it wrong, and treats enumerated bitfields
+ as signed quantities, making it impossible to use an 8-bit enum
+ for compiling GNU C++. */
+#define ONLY_INT_FIELDS 1
+#define CODE_FIELD_BUG 1
+#endif
OpenPOWER on IntegriCloud