GNU Common Lisp on IRIX 6.5.17m

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
Posts: 5
Joined: Thu Jan 23, 2003 2:18 pm

GNU Common Lisp on IRIX 6.5.17m

Unread postby andikas » Thu Jan 23, 2003 4:35 pm

I'm trying to compile GCL 2.4.0 on my Indigo2 using MIPSPRO 7.3, because I would like
to use the mathematics tool MAXIMA on my machine, which is only running under a GCL environment.
I "fixed" many compile-errors, most of which regarded explicitly casting on type into another.
I ended up with code that would compile until mostly at the end the linker is invoked and abort with "unresolved symbols" errors.
There are some os-specific headerfiles and the ones for irix have never been updated since version 1.0, which also might be a source of problems.
If anyone successfully compiled GCL on IRIX, help is greatly appriciated!



User avatar
Site Admin
Site Admin
Posts: 8145
Joined: Thu Jan 23, 2003 1:31 am
Location: Pleasanton, California

GCL 2.5.0

Unread postby nekonoko » Thu Jan 23, 2003 10:31 pm

I took a look at this this evening and found GCL-CVS 2.5.0 a lot more IRIX friendly. It has newer irix headers, for example, './configure --enable-machine=irix6' is a valid option. The code looks a lot cleaner; not nearly as many warnings as with 2.4.0 and 2.4.4 (which I played with a bit as well). I have MIPSPro 7.2 so I'm sure things will be a bit easier for you.

I was able to compile cleanly most of the way through ... there are some small problems in the 'o' subdir makefile that should be easy to weed out. Anyway, if you're interested in trying this version you can find it at ... -70.tar.gz
Twitter: @neko_no_ko
IRIX Release 4.0.5 IP12 Version 06151813 System V
Copyright 1987-1992 Silicon Graphics, Inc.
All Rights Reserved.

Posts: 5
Joined: Thu Jan 23, 2003 2:18 pm

Unread postby andikas » Wed Jan 29, 2003 4:42 pm

The only reason I wanted to compile Gnu Common Lisp to run Maxima ( which until recently only supported GCL ).
The new version ( which is actually a development release) 5.9 RC3 enables you to use CLISP or CMUCL instead.
CLISP 2.29 will compile without any modifications using Mipspro 7.3.

After having a fully functional Lisp system, compiling maxima is easy.
It must be configured with the flag "--with-clisp" and after that will compile and use CLISP.
The only modifications I made was in the TCL/TK Script /usr/local/bin/xmaxima, with will not function out of the box with TCL/TK 8.0 available on

These modifications are:


line 3: exec wish "$0" "$@" -->
exec /usr/freeware/bin/wish "$0" "$@"

line 12265: label $win.$v -text [string totit $v] -relief raised -->
label $win.$v -text [string tolower $v] -relief raised

line 12277: same as in 12265

line 13596: if {$pid != "" && [string is int $pid]} { -->
if {$pid != "" && [string compare int $pid]} {

line 13897: if {[string is int $pid]} { -->
if {[string compare int $pid]} {

line 13188: $pm add radio -label [string totit $elt] \ -->
$pm add radio -label [string tolower $elt] \

line 14215: $km add command -label "Kill [string totit $elt]" \ -->
$km add command -label "Kill [string tolower $elt]" \


After these modifications Maxima should run smoothly on Irix 6.5.



Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 1 guest