From: Raymond T. <ray...@er...> - 2006-01-23 14:05:52
|
>>>>> "Robert" == Robert Dodier <rob...@gm...> writes: Hello, Robert! Robert> g77 compiles this program and when executed it yields BAR IS 12345. Robert> I translate this with (f2cl::f2cl "tmp.f" :declare-common t) Robert> (same problem with (f2cl::f2cl "tmp.f" :declare-common t :common-as-array t) Robert> by the way). The translation is apparently successful. Robert> However, (load "tmp.lisp") complains "undefined function Robert> FORTRAN-TO-LISP::MAKE-MYCOMN". Does the result work? I also get these warnings when I compile the lisp code with cmucl. But the resulting compiled code does work. Robert> I looked at f2cl5.lisp and it looks like the stuff in create-sym-macros-array Robert> is relevant in the :common-as-array case. However it appears that the Robert> make-array at line 774 is never executed. I couldn't figure out anything else. The generated code looks the same as that generated by cmucl. Ray |