Add hints file for SUPER-UX: the UNIX of NEC SX series,
Jarkko Hietaniemi [Tue, 4 Dec 2001 04:28:29 +0000 (04:28 +0000)]
from Len Makin.

p4raw-id: //depot/perl@13452

MANIFEST
hints/super-ux.sh [new file with mode: 0644]

index a58e99f..b69db59 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -719,6 +719,7 @@ hints/solaris_2.sh          Hints for named architecture
 hints/stellar.sh               Hints for named architecture
 hints/sunos_4_0.sh             Hints for named architecture
 hints/sunos_4_1.sh             Hints for named architecture
+hints/super-ux.sh              Hints for named architecture
 hints/svr4.sh                  Hints for named architecture
 hints/svr5.sh                  Hints for named architecture
 hints/ti1500.sh                        Hints for named architecture
diff --git a/hints/super-ux.sh b/hints/super-ux.sh
new file mode 100644 (file)
index 0000000..8f9592b
--- /dev/null
@@ -0,0 +1,20 @@
+# Len Makin <len@hpc.CSIRO.AU>
+
+# No dynamically loaded libraries
+so='none'
+
+case "$optimize" in
+# No compile option -O
+'') optimize='-h2' ;;
+esac
+
+# size_t is 32 bits. Next version of compiler will have -hsize_t64
+# enabling size_t to be 64 bits.
+# Current cc version 4.80 allows -hsubscript64 for 64 bit array subscripts.
+ccflags="$ccflags -hxint -hmath vector -hsubscript64"
+
+case "$usemymalloc" in
+'') # The perl malloc.c SHOULD work
+    usemymalloc='y'
+    ;;
+esac