summaryrefslogtreecommitdiff
path: root/hints/umips.sh
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-08-20 08:51:58 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1996-08-20 08:51:58 +0000
commitfa664cd7a9d49a55feea150f191fd2e23b96c708 (patch)
treeea6a9e2de593b9df1f07e76b47e56ec9c2ed799a /hints/umips.sh
parentac201bd9cd53813ae2f4ecbc580583dc25e57a7d (diff)
downloadperl-fa664cd7a9d49a55feea150f191fd2e23b96c708.tar.gz
New hint file.
Diffstat (limited to 'hints/umips.sh')
-rw-r--r--hints/umips.sh39
1 files changed, 39 insertions, 0 deletions
diff --git a/hints/umips.sh b/hints/umips.sh
new file mode 100644
index 0000000000..17d5ff4623
--- /dev/null
+++ b/hints/umips.sh
@@ -0,0 +1,39 @@
+# hints/umips.sh
+#
+# Mips R3030 / Bruker AspectSation running RISC/os (UMIPS) 4.52
+# compiling with gcc 2.7.2
+#
+# Created Sat Aug 17 00:17:15 MET DST 1996
+# by Guenter Schmidt <gsc@bruker.de>
+#
+# uname -a output looks like this:
+# xxx xxx 4_52 umips mips
+
+# Speculative notes on getting cc to work added by
+# Andy Dougherty <doughera@lafcol.lafayette.edu>
+# Tue Aug 20 21:51:49 EDT 1996
+
+# Recommend the GNU C Compiler
+case "$cc" in
+'') echo 'gcc 2.7.2 (or later) is recommended. Use Configure -Dcc=gcc' >&4
+ # The test with the native compiler not succeed:
+ # `sh cflags libperl.a miniperlmain.o` miniperlmain.c
+ # CCCMD = cc -c -I/usr/local/include -I/usr/include/bsd -DLANGUAGE_C -O
+ # ccom: Error: ./mg.h, line 12: redeclaration of formal parameter, sv
+ # int (*svt_set) (SV *sv, MAGIC* mg);
+ # ------------------------------------------^
+ # ccom: Error: ./mg.h, line 12: redeclaration of formal parameter, mg
+ # This is probably a result of incomplete prototype support.
+ prototype=undef
+ ;;
+esac
+
+# POSIX support in RiscOS is not useable
+useposix='false'
+
+# Will give WHOA message, but the prototype are defined in the GCC inc dirs
+case "$cc" in
+*gcc*) d_shmatprototype='define' ;;
+esac
+
+glibpth="$glibpth /usr/lib/cmplrs/cc"