[comp.sys.mips] Building Perl pl 36 on Mips Risc/os 4.51

beldar@mips.COM (Gardner Cohen) (10/27/90)

Here are diffs for Configure to make pl 37 build under risc/os 4.51:

*** /tmp/,RCSt1011584   Thu Oct 25 22:04:33 1990
--- Configure   Thu Oct 25 21:19:39 1990
***************
*** 303,305 ****
      echo "Okay, let's see if #! works on this system..."
!     echo "#!/bin/echo hi" > try
      $eunicefix try
--- 303,305 ----
      echo "Okay, let's see if #! works on this system..."
!     echo "#!/bsd43/bin/echo hi" > try
      $eunicefix try
***************
*** 1135,1137 ****
      esac
!     xxx=`./loc lib$thislib.a X /usr/ccs/lib /usr/lib /usr/local/lib /lib`
      if test -f $xxx; then
--- 1135,1137 ----
      esac
!     xxx=`./loc lib$thislib.a X /usr/ccs/lib /usr/lib /usr/local/lib /lib /usr/lib/cmplrs/cc`
      if test -f $xxx; then
***************
*** 1450,1452 ****
  $echo $n "Extracting names from $* for later perusal...$c"
! nm $* 2>/dev/null >libc.tmp
  $sed -n -e 's/^.* [ATD]  *_[_.]*//p' -e 's/^.* [ATD] //p' <libc.tmp >libc.list
--- 1450,1452 ----
  $echo $n "Extracting names from $* for later perusal...$c"
! nm -B $* 2>/dev/null >libc.tmp
  $sed -n -e 's/^.* [ATD]  *_[_.]*//p' -e 's/^.* [ATD] //p' <libc.tmp >libc.list

Tell configure to use cc -systype sysv.

Edit config.sh to disable volatile.

Edit Makefile after substitution to make LDFLAGS (not CLDFLAGS) -systype sysv

Compile with -Olimit 10000 -O if you have a lot of memory.

Available from mips.com (130.62.14.10) in /pub/perl_3.37.tar.Z find a
compressed tar file with a built version of perl 3.37 compiled under
risc/os. (.o's deleted).  The tar file contains a README.mips file for
more info.

-- 
Gardner Cohen     beldar@mips.com   {ames,decwrl,...}!mips!beldar (408) 524-8267