[comp.lang.lisp] KCL for a SUN 4

lco@godiva.cs.duke.edu (Louis C. Olszyk) (09/22/88)

We have kcl (Kyoto Common Lisp) running here on our sun3's
with no trouble. However, we have recently received some sun4's,
and the file "bitop.c" in kcl does not support the sparc architecture.
I would appreciate any information on porting this to a sun4.

thanks,
Louis

Louis C. Olszyk			PHONE: (919) 684-5721
Duke University			CSNET: lco@duke 
Dept. of Computer Science	UUCP:  {decvax, ihnp4}!duke!lco
Durham NC 27706-2591  USA	ARPA:  lco@cs.duke.edu

jeff@aiva.ed.ac.uk (Jeff Dalton) (10/01/88)

In article <12483@duke.cs.duke.edu> lco@godiva.cs.duke.edu (Louis C.
Olszyk) writes: 
>We have kcl (Kyoto Common Lisp) running here on our sun3's
>with no trouble. However, we have recently received some sun4's,
>and the file "bitop.c" in kcl does not support the sparc architecture.

As a first step, try the routines in that file that are written
entriely in C.  They are used for one machine but should work
either as-is or with slight modification on others.

Is that the only thing that doesn't work?

dcorbett@ultima.socs.uts.edu.au (Dan Corbett) (03/19/91)

We've been running KCL on SUN 3s for a year now.  We just completed upgrading
all of our hardware to SUN 4s (with lots of guarantees that everything would
work _just_fine_) and find that KCL won't compile on the SUN4.  We're 
running SunOS 4.1.1 (probably the export version).

Does anyone know what the fixes might be?  Failing that, does anyone have
KCL (or Austin KCL) running on a SUN 4 that we can ftp (or get a tape)?

We have the license already, no problem.  We just need a working copy.

Thanks in advance.

Dan
------------------------------------------------------------------------------
Dan Corbett					Department of Computer Science
						University of Technology, Sydney
(02) 218 9449					P.O. Box 123
dcorbett@socs.uts.edu.au			Broadway, NSW
						Australia  2007

simon@gmdtub (Simon Leinen) (03/20/91)

>>>>> On 19 Mar 91 02:39:05 GMT, dcorbett@ultima.socs.uts.edu.au (Dan
>>>>> Corbett) said:

Dan> We've been running KCL on SUN 3s for a year now.  We just
Dan> completed upgrading all of our hardware to SUN 4s (with lots of
Dan> guarantees that everything would work _just_fine_) and find that
Dan> KCL won't compile on the SUN4.  We're running SunOS 4.1.1
Dan> (probably the export version).

Dan> Does anyone know what the fixes might be?  Failing that, does
Dan> anyone have KCL (or Austin KCL) running on a SUN 4 that we can
Dan> ftp (or get a tape)?

We are running AKCL (1-505) on Sun-4s just fine.  In SunOS 4.0 and
greater, the format of object files has been changed so that older
versions of AKCL don't compile anymore.  This has been fixed some time
ago.  The current version on Rascal.ICS.UTexas.EDU (128.83.138.20) is

-rw-r--r--  1 root       706107 Jan  8 16:39 akcl-1-530.tar.Z

You will find it in the `/pub' subdirectory of the anonymous FTP
archive.

I recommend that you use GCC as the back end of the KCL compiler (if
you have it).  As of its current version, it will generate slightly
worse code than Sun's new optimizing CC, but the compilation speed is
usually MUCH higher.
-- 
Simon.