[Gcl-devel] building maxima with gcl



Hello *,

I am trying to understand what's happening.

In a freshly-unpacked maxima-5.14.0 directory, I created binary-gcl, 
binary-gcl/numerical, and binary-gcl/numerical/slatec subdirectories. Then

grozin at laptop ~/maxima-5.14.0 $ cd src
grozin at laptop ~/maxima-5.14.0/src $ gcl
GCL (GNU Common Lisp)  2.6.8 ANSI    Nov 28 2007 17:42:17
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (XGCL READLINE BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/

>(load "../lisp-utils/defsystem.lisp")

Loading ../lisp-utils/defsystem.lisp
Warning:
REQUIRE is being redefined.
Finished loading ../lisp-utils/defsystem.lisp
T

>(compiler::emit-fn t)

Loading /usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.o
Error in EVAL [or a callee]: Can't open file 
"/usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.data"

Fast links are on: do (use-fast-links nil) for debugging
Broken at EVAL.  Type :H for Help.
  1 (Continue) Retry loading file 
"/usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.o".
  2 (Abort) Return to top level.
dbl:>>

So, the error happens when calling (compiler::emit-fn t). From where does 
this specific path /usr/lib/gcl-2.6.8/xgcl-2/../cmpnew/gcl_collectfn.o 
appear? It certainly is not present in ../lisp-utils/defsystem.lisp. It 
seems that it's hardcoded somewhere in gcl. Can somebody help me to find 
this place?

Andrey