home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / hints / umips.sh < prev    next >
Text File  |  1999-07-20  |  1KB  |  40 lines

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