Hi,
i followed the instructions in http://ecls.sourceforge.net/new-manual/ch24s06.html and compiled a .lisp file into .fas and .o files, and finally into an executable (Ubuntu 10.10). But how can I produce a .c file?
imba wrote:But how can I produce a .c file?
Strange: This doesn't work on Debian. Is there a way to prevent *my-program*.c and .h from being deleted?Ramarren wrote:imba wrote:But how can I produce a .c file?
The .c file is obviously produced during compilation, because otherwise it wouldn't be possible to produce the .o file. It is the deleted, because it is not really designed for human consumption. I am not sure if there is exposed interface for suppressing the deletion, but you can set the c::*delete-files* variable to NIL. Just don't expect the .c files to be comprehensible unless you already know something about ECL code generator.
imba wrote:I wrote a bash script, which creates a backup of the .c/.h files after being written to them.
Now I have another question: Did anyone manage to compile ECL on Windows using MSVC++? I get the error "msvcrt.lib" not found (by nmake), although ...\VC\lib is in PATH.
Users browsing this forum: No registered users and 1 guest