File: umips.sh

package info (click to toggle)
perl 5.8.4-8sarge6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 58,128 kB
  • ctags: 31,422
  • sloc: perl: 224,262; ansic: 155,398; sh: 32,253; pascal: 7,747; lisp: 6,121; makefile: 2,341; cpp: 2,035; yacc: 1,019; java: 23
file content (39 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@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"