summaryrefslogtreecommitdiff
path: root/hints/super-ux.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-04 04:28:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-04 04:28:29 +0000
commitd4bb784c96c1a343cee4dd4e8c1f2fca1ebaf84d (patch)
treeb4e34bc4a24174bda1ecfb2ea28298d66cb74d00 /hints/super-ux.sh
parenta0aae13b23533875d44866d437f205cbab6e42ea (diff)
downloadperl-d4bb784c96c1a343cee4dd4e8c1f2fca1ebaf84d.tar.gz
Add hints file for SUPER-UX: the UNIX of NEC SX series,
from Len Makin. p4raw-id: //depot/perl@13452
Diffstat (limited to 'hints/super-ux.sh')
-rw-r--r--hints/super-ux.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/hints/super-ux.sh b/hints/super-ux.sh
new file mode 100644
index 0000000000..8f9592b893
--- /dev/null
+++ b/hints/super-ux.sh
@@ -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