bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mods for crays


From: Wendy Palm
Subject: mods for crays
Date: Thu, 06 Sep 2001 18:15:32 -0500

please modify config.sub and config.guess to handle the newer crays
as follows.

% diff -u config.sub.orig config.sub
--- config.sub.orig     Thu Sep  6 13:47:43 2001
+++ config.sub  Thu Sep  6 13:54:09 2001
@@ -185,7 +185,7 @@
              | sparc64-* | mips64-* | mipsel-* \
              | mips64el-* | mips64orion-* | mips64orionel-*  \
              | mipstx39-* | mipstx39el-* \
-             | f301-* | armv*-*)
+             | f301-* | armv*-* | sv1-* | t3e-* )
                ;;
        # Recognize the various machine names and aliases which stand
        # for a CPU type and a company and sometimes even an OS.
@@ -580,9 +580,17 @@
        sun386 | sun386i | roadrunner)
                basic_machine=i386-sun
                ;;
+       sv1)
+               basic_machine=sv1-cray
+               os=-unicos
+               ;;
        symmetry)
                basic_machine=i386-sequent
                os=-dynix
+               ;;
+       t3e)
+               basic_machine=t3e-cray
+               os=-unicos
                ;;
        tx39)
                basic_machine=mipstx39-unknown
====================================================================
% diff -u config.guess.orig config.guess
--- config.guess.orig   Thu Sep  6 13:47:52 2001
+++ config.guess        Thu Sep  6 13:56:48 2001
@@ -542,6 +542,9 @@
     CRAY*T3E:*:*:*)
        echo t3e-cray-unicosmk${UNAME_RELEASE}
        exit 0 ;;
+    CRAY*SV1:*:*:*)
+       echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+       exit 0 ;;
     CRAY-2:*:*:*)
        echo cray2-cray-unicos
         exit 0 ;;
====================================================================
also, i'm running into problems with the prototype for "rexec" at
line 62 in src/rtapelib.c.  the crays are pretty picky about the
prototypes being correct.  unistd.h contains it, so i need it
either correct or eliminated (i'm not sure what the FIXME comment
on line 61 really means).
% diff -u src/rtapelib.c.orig src/rtapelib.c
--- src/rtapelib.c.orig Thu Sep  6 14:10:14 2001
+++ src/rtapelib.c      Thu Sep  6 17:58:34 2001
@@ -59,7 +59,7 @@
 #include "rmt.h"
 
 /* FIXME: Just to shut up -Wall.  */
-int rexec ();
+int rexec (char **, u_short, char *, char *, char *, int *);
 
 /* Exit status if exec errors.  */
 #define EXIT_ON_EXEC_ERROR 128
=======================================================================
otherwise, there is only a cleaning issue:
intl/explodename.c line 111 calls _nl_normalize_codeset with a
  parameter of *codeset.  codeset is listed as a char *, but the
  function parameter requires  an unsigned char * (in intl/l10nflist.c
  and intl/loadinfo.h).  _nl_normalize_codeset isn't called anywhere
  else, so either the call or the function and prototype should be
  changed to be consistent.

thanks much,
wendy

-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
address@hidden, 651-605-9154



reply via email to

[Prev in Thread] Current Thread [Next in Thread]