Re: f2cl trouble with common block -- function make-<block name> undefined

Raymond Toy <[email protected]> Thu, 26 Jan 2006 13:43:03 -0500
Newsgroups gmane.lisp.clocc.general
Message-ID <[email protected]>
>>>>> "Robert" == Robert Dodier <[email protected]> writes:

    Robert> Hi Ray,
    Robert> GCL fails to load f2cl1.l so that's not in the running.
    >> 
    >> I haven't tried gcl with f2cl in ages.  But can gcl load the lisp
    >> file?

    Robert> (load "tmp.lisp") => There is no package with the name FORTRAN-TO-LISP.

    Robert> Maybe I'm not understanding how f2cl is supposed to work.

    Robert> I try loading "tmp.lisp" (with clisp, sbcl, or gcl) and I get a
    Robert> complaint about the package FORTRAN-TO-LISP being
    Robert> undefined. OK, maybe I'm supposed to (load "macros.l")
    Robert> and then (load "tmp.lisp"). Nope, complaints about F2CL-LIB.
    Robert> OK, I'll try loading f2cl0.l through f2cl8.l and then macros.l.
    Robert> Well, clisp is happy with that, sbcl complains a lot but
    Robert> apparently succeeds, and gcl can't get through f2cl1.l.

Ok.  It's certainly a problem that there's no file describing what to
do.  My fault.  I'll add a README file that explains some of this.

So, if you want to do a conversion, you need to load all of the files,
of course.  Use the f2cl/f2cl.system or f2cl/f2cl.asd file to load
f2cl via mk:defsys or asdf.

Once a conversion is done, you don't need to load all of f2cl.  You
basically just need f2cl0.l to define the packages needed, and
macros.l to define the stuff that f2cl-lib needs.

Ray





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642