scsh-users
[Top] [All Lists]

IRIX 5.2

To: scsh@martigny.ai.mit.edu
Subject: IRIX 5.2
From: egner@hermes.zkm.de (Sebastian Egner)
Date: Tue, 27 Dec 94 19:36:26 +0200
I've been installing scsh-0.36 on our local SGI
IRIX 5.2 systems. The IRIX 4.* did a good job already
but I had to modify scsh/syscalls1.c at function errno_msg.
Here is the new one:
  
const char *errno_msg(int i)
{
  extern int sys_nerr;
/*  const extern char *sys_errlist[]; [SE] */
          extern char *sys_errlist[]; 
  return ( i < 0 || i > sys_nerr )
    ? (char*) NULL                      /* i.e., #f */
      : sys_errlist[i];
}


In addition I had some problems with the Makefiles
because my make/tcsh combination complained about
some unbalanced "'s. Probably a problem of our local
installation, but it is easily fixed by inserting 
some ''s, for example at:

$(CIG).image: cig/cig.scm cig/libcig.scm # $(srcdir)/$(IMAGE)
        (echo ",batch"; \
         echo ",flush"; \
         echo ",flush maps source names files table"; \
         echo ",translate =scheme48/ $(srcdir)/"; \
         echo ",config ,load cig/cig.scm"; \
         echo ",config ,load cig/libcig.scm"; \
         echo ",load-package cig-aux"; \
         echo ",open define-foreign-syntax"; \
         echo ",translate =scheme48/ $(LIB)/"; \
         echo '",dump /tmp/cig \"(CIG Preloaded -bri)\""') \
        | \
        $(srcdir)/$(VM) -o $(srcdir)/$(VM) -i $(srcdir)/$(IMAGE)
        cig/image2script $(LIB)/$(VM) \
                        -o $(LIB)/$(VM) \
                        </tmp/cig > $(CIG).image
        -chmod +x $(CIG).image
        $(RM) /tmp/cig

(Note the ''s at echo '",dump .."!)

Scsh is a nice thing. Carry on!  
Bye,
  Sebastian.


<Prev in Thread] Current Thread [Next in Thread>
  • IRIX 5.2, Sebastian Egner <=