[Ecls-list] switching betwen byte-code compiler and lisp-to-c compiler
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Thu May 31 09:04:10 UTC 2012
On Thu, May 31, 2012 at 12:16 AM, Anton Vodonosov <avodonosov at yandex.ru>wrote:
> Is it possible to enable lisp-to-c compiler, compile something, than switch
> to bytecode compiler, compile some files and load some file, than switch
> back?
> (I saw that (require :cmp) loads lisp-to-c compiler, but is it possible to
> swithc back?
> is there another interface to enable/disable lisp-to-c compiler other than
> (require :cmp)?)
In principle, (load "sys:cmp") used to do the trick, but that seems like a
hack. Hence, I will add a new function, C:INSTALL-C-COMPILER, to do the job.
However, I fear that ASDF will not particularly enjoy your switching
between compilers. I believe the names of the files are hardcoded in the
modules the first time they are built and thus when you switch compiler
they will probably not get recompiled for the new target.
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20120531/c8c08049/attachment.html>
More information about the ecl-devel
mailing list