> < ^ Date: Mon, 11 May 1992 18:08:02 +0200
> < ^ From: Martin Schoenert <martin.schoenert@math.rwth-aachen.de >
< ^ Subject: Re: Installation problems on a Sun.

Arnaldo Mandel writes in his e-mail of 11-May-92:

I was really impressed with the new look of gap, and even more
impressed when both the compilation and the manual latexing went by
without a single warning. It was a bit disapointing that when I
started it, it failed to echo back what I was typing. It seems to be
working, otherwise :-)

Well, I messed up with the upgrade. The new version works allright on
little endian machines (such as a DECstation or a Sequent) but fails on
big endian machines (such as a NeXT or a SUN).

You have to make another small patch to 'system.bsd' and 'system.usg'.
To do this, save this e-mail message as 'xyz' and issue the command
'patch -p0 < xyz' in the GAP directory.

diff -u src/system.bsd src/system.bsd
--- src/system.bsd      1992/04/28 13:48:54
+++ src/system.bsd      1992/05/02 13:02:21
@@ -2,7 +2,7 @@
 **
 *A  system.bsd                  GAP source                   Martin Schoenert
 **
-*A  @(#)$Id: 1.html,v 1.2 2004/04/21 15:06:25 felsch Exp $
+*A  @(#)$Id: 1.html,v 1.2 2004/04/21 15:06:25 felsch Exp $
 **
 *Y  Copyright 1990-1992,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
 **
@@ -13,6 +13,9 @@
 **  This file must be copied or linked to 'system.c' before executing 'make'.
 **
 *H  $Log: 1.html,v $
 *H  Revision 1.2  2004/04/21 15:06:25  felsch
 *H  Corrected links in the Forum Archive pages.   VF
 *H
 *H  Revision 1.1.1.1  2004/04/20 13:39:30  felsch
 *H  The final GAP-Forum archive until 2003.
 *H
 *H  Revision 1.4  2003/06/12 19:20:31  gap
 *H  Further update. AH
 *H
 *H  Revision 1.3  1997/08/15 11:18:41  gap
 *H  New forum setup. AH
 *H
 *H  Revision 1.2  1997/04/24 15:23:28  gap
 *H  These files were replaced by the versions in WWW. The content is basically the
 *H  same but the formatting has been much more friendly towards the HTML-Converter.
 *H  AH
 *H
 *H  Revision 1.1  1996/10/30 13:06:31  gap
 *H  added forum archive and translation files.
 *H
+*H  Revision 3.13.1.2  1992/05/02  13:02:05  martin
+*H  fixed 'syPutch' for big endian machines
+*H
 *H  Revision 3.13.1.1  1992/04/28  13:48:54  martin
 *H  changed a few things to silence GCC
 *H
@@ -1094,7 +1097,9 @@
     int                 ch;
     long                fid;
 {
-    write( fileno(syBuf[fid].fp), (char*)&ch, 1 );
+    char                ch2;
+    ch2 = ch;
+    write( fileno(syBuf[fid].fp), (char*)&ch2, 1 );
 }


diff -u src/system.usg src/system.usg
--- src/system.usg      1992/04/28 13:48:54
+++ src/system.usg      1992/05/02 13:02:25
@@ -2,7 +2,7 @@
 **
 *A  system.usg                  GAP source                   Martin Schoenert
 **
-*A  @(#)$Id: 1.html,v 1.2 2004/04/21 15:06:25 felsch Exp $
+*A  @(#)$Id: 1.html,v 1.2 2004/04/21 15:06:25 felsch Exp $
 **
 *Y  Copyright 1990-1992,  Lehrstuhl D fuer Mathematik,  RWTH Aachen,  Germany
 **
@@ -14,6 +14,9 @@
 **  This file must be copied or linked to 'system.c' before executing 'make'.
 **
 *H  $Log: 1.html,v $
 *H  Revision 1.2  2004/04/21 15:06:25  felsch
 *H  Corrected links in the Forum Archive pages.   VF
 *H
 *H  Revision 1.1.1.1  2004/04/20 13:39:30  felsch
 *H  The final GAP-Forum archive until 2003.
 *H
 *H  Revision 1.4  2003/06/12 19:20:31  gap
 *H  Further update. AH
 *H
 *H  Revision 1.3  1997/08/15 11:18:41  gap
 *H  New forum setup. AH
 *H
 *H  Revision 1.2  1997/04/24 15:23:28  gap
 *H  These files were replaced by the versions in WWW. The content is basically the
 *H  same but the formatting has been much more friendly towards the HTML-Converter.
 *H  AH
 *H
 *H  Revision 1.1  1996/10/30 13:06:31  gap
 *H  added forum archive and translation files.
 *H
+*H  Revision 3.12.1.2  1992/05/02  13:02:05  martin
+*H  fixed 'syPutch' for big endian machines
+*H
 *H  Revision 3.12.1.1  1992/04/28  13:48:54  martin
 *H  changed a few things to silence GCC
 *H
@@ -1080,7 +1083,9 @@
     int                 ch;
     long                fid;
 {
-    write( fileno(syBuf[fid].fp), (char*)&ch, 1 );
+    char                ch2;
+    ch2 = ch;
+    write( fileno(syBuf[fid].fp), (char*)&ch2, 1 );
 }

I will add this to the second upgrade, which will be available probably
at the end of this week.

Martin.

--
Martin Sch"onert, Martin.Schoenert@Math.RWTH-Aachen.DE, +49 241 804551
Lehrstuhl D f"ur Mathematik, Templergraben 64, RWTH, D 51 Aachen, Germany


> < [top]