Menu

#48 Compile to *.o does not work

closed
nobody
Lisp Core (457)
5
2006-03-26
2002-04-26
Anonymous
No

1.
I use the Windows-distribution from Maxima-Homepage.
2.
PROBLEM: I tried to compile files within maxima,
using some "good" files in
the share directory. Here is an example with Maxima
output:

(C6) compile_file
("c:/maxima/maxima/share/newton.mc", "newton.fas");

Translation begun on
#pc:/maxima/maxima/share/newton.mc.
Compiling c:/maxima/maxima/share/newton.LISP.
End of Pass 1.
End of Pass 2.
Your C compiler failed to compile the intermediate
file.
(D6) [c:/maxima/maxima/share/newton.mc,
c:/maxima/maxima/share/newton.LISP,
c:/maxima/maxima/share/newton.UNLISP,
#pc:/maxima/maxima/share/newton.o]

I could not compile any file; a translation to *.lisp
was o.k., but in no case
*.o was created (to be precise: I found an a.o with 0
bytes in \maxima\gcc\bin]
).

Wolfgang

--
OStR Wolfgang Lindner Tel : +49
(0203) 379-1326
Gerhard-Mercator-Universität Duisburg Fax : +49
(0203) 379-2528
Fakultät 4 - Naturwissenschaften eMail:
Lindner@math.uni-duisburg.de
Institut fuer Mathematik, LE 424
Lotharstr. 65
D 47048 Duisburg (Germany)

Discussion

  • Raymond Toy

    Raymond Toy - 2002-06-19

    Logged In: YES
    user_id=28849

    I think this is an error with GCL (I assume that's what
    you're using, but you don't say). Can your GCL compile up
    any Lisp files? My Sparc GCL 2.4.0 can no longer compile
    files at all, and I don't know why.

     
  • Robert Dodier

    Robert Dodier - 2006-03-26

    Logged In: YES
    user_id=501686

    I don't observe this problem using Windows Maxima 5.9.3 /
    gcl 2.6.7. Closing this report as "works for me".

    compile_file (file_search ("newton.mac")); =>
    Translation begun on
    #pC:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.mac.
    Compiling
    C:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.LISP.
    End of Pass 1.
    End of Pass 2.
    OPTIMIZE levels: Safety=2, Space=3, Speed=2
    Finished compiling NIL.
    (%o30)
    [C:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.mac,

    C:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.LISP,

    C:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.UNLISP,

    #pC:/PROGRA~1/MAXIMA~1.3/share/maxima/5.9.3/share/numeric/newton.o]

     
  • Robert Dodier

    Robert Dodier - 2006-03-26
    • status: open --> closed
    • labels: --> Lisp Core
     

Log in to post a comment.