Re: newbie question on making executables in Lisp.



"vishnuvyas" <vishnuvyas@xxxxxxxxx> writes:

> Pascal Bourguignon wrote:
> [snip]
>
> thanks for the detailed reply, I am get all of that, but that still
> doesn't answer
> my basic question.
>
> 1. Any of CLISP/CMUCL/SBCL do-not generate ELF type executables on
> linux systems directly with the (compile-file) function. but how is
> that when they are built, they are able to make themselves ELF
> executables?

Well CLISP is a C program, so it has no difficulty to be linked into a
ELF executable.

SBCL is mostly a Common Lisp program, and indeed, while it compiles to
ix86 (or other processors), Common Lisp programs are stored into lisp
images or .fasl files, not into a ELF file. In SBCL there's a small C
"loader" program that is linked into an ELF executable and that loads
the lisp image.

CMUCL is similar to SBCL, only its build process is more complex.


--
__Pascal Bourguignon__ http://www.informatimago.com/

This is a signature virus. Add me to your signature and help me to live
.