Add fallback to tmpfile for use in cases where user's relying on
[p5sagit/p5-mst-13.2.git] / hints / umips.sh
CommitLineData
fa664cd7 1# hints/umips.sh
2#
3# Mips R3030 / Bruker AspectSation running RISC/os (UMIPS) 4.52
4# compiling with gcc 2.7.2
5#
6# Created Sat Aug 17 00:17:15 MET DST 1996
7# by Guenter Schmidt <gsc@bruker.de>
8#
9# uname -a output looks like this:
10# xxx xxx 4_52 umips mips
11
12# Speculative notes on getting cc to work added by
13# Andy Dougherty <doughera@lafcol.lafayette.edu>
14# Tue Aug 20 21:51:49 EDT 1996
15
16# Recommend the GNU C Compiler
17case "$cc" in
18'') echo 'gcc 2.7.2 (or later) is recommended. Use Configure -Dcc=gcc' >&4
19 # The test with the native compiler not succeed:
20 # `sh cflags libperl.a miniperlmain.o` miniperlmain.c
21 # CCCMD = cc -c -I/usr/local/include -I/usr/include/bsd -DLANGUAGE_C -O
22 # ccom: Error: ./mg.h, line 12: redeclaration of formal parameter, sv
23 # int (*svt_set) (SV *sv, MAGIC* mg);
24 # ------------------------------------------^
25 # ccom: Error: ./mg.h, line 12: redeclaration of formal parameter, mg
26 # This is probably a result of incomplete prototype support.
27 prototype=undef
28 ;;
29esac
30
31# POSIX support in RiscOS is not useable
32useposix='false'
33
34# Will give WHOA message, but the prototype are defined in the GCC inc dirs
35case "$cc" in
36*gcc*) d_shmatprototype='define' ;;
37esac
38
39glibpth="$glibpth /usr/lib/cmplrs/cc"