Trying to build openssl-0.9.5a on Irix 6.x can be problematic, as the
configuration script assumes that if you are running 64 bit Irix (uname -s
== "IRIX64") that you automatically have -mips4 capable processors
(>=R5000).  Some sites, like ours, are running Irix 6.5.6 on R4400
processors.  I checked, and this is still a problem in the latest snapshot
20000804.

Here's a quick patch that fixes a typo as well:

--- config.old  Fri Aug  4 15:35:28 2000
+++ config      Fri Aug  4 15:37:40 2000
@@ -387,10 +387,16 @@
        ;;
   mips4-sgi-irix64)
        echo "WARNING! If you wish to build 64-bit library, then you have to"
-       echo "         invoke './Configre irix64-mips4-$CC' *manually*."
+       echo "         invoke './Configure irix64-mips4-$CC' *manually*."
        echo "         Type Ctrl-C if you don't want to continue."
        read waste < /dev/tty
-       options="$options -mips4"
+       CPU=`(hinv -t cpu) 2>/dev/null | sed 's/^CPU:[^R]*R\([0-9]*\).*/\1/'`
+       CPU=${CPU:-0}
+       if [ $CPU -ge 5000 ]; then
+               options="$options -mips4"
+       else
+               options="$options -mips3"
+       fi
        OUT="irix-mips3-$CC"
        ;;
   alpha-*-linux2)

---------
Much thanks!

-Kurt Hockenbury

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to