From: Juan Jose Garcia Ripoll
Subject: ECL now produces and loads DLLs under Windows
Date:
Message-ID: <2jfnprF10n81sU1@uni-berlin.de>
Hi,
in the last couple of days I have been working on adding support for
dynamically linked libraries (DLLs) under Windows, using the Mingw32
environment (*). People willing to try it, should get the latest version
from CVS and compile it
http://sourceforge.net/cvs/?group_id=30035
Hopefully, this adds all features that were already available for unix:
compiling lisp to DLLs that can be linked later, and also to FASL that
can be loaded at run time. However the way DLLs work under Windows is
rather different from Unix and there might be some corner cases that
have to be solved.
To name one stupid issue, when a DLL is loaded, the associated file
cannot be deleted because it is write-protected. However, when using
#'COMPILE, ECL needs to produce a DLL that is only used during that
session and has to be deleted. To solve this issue I had to add some
sort of DLL database, plus code to auto-delete the associated file,
either during garbage collection, or when ECL is quitted.
Summing up, testers are wanted. And also people working in other
platforms should check whether I broke anything while adding this feature.
Regards,
Juanjo
(*) For space issues, I do no longer have a cygwin environment in my
laptop. However, since both systems are very similar, and I use a common
tool "dllwrap" for producing the shared libraries, everything should
work also on cygwin. Volunteers are seeked that maintain this second port.
From: Juan Jose Garcia Ripoll
Subject: Re: ECL now produces and loads DLLs under Windows
Date:
Message-ID: <2jgkfpFu6u52U1@uni-berlin.de>
Juan Jose Garcia Ripoll wrote:
> Hi,
>
> in the last couple of days I have been working on adding support for
> dynamically linked libraries (DLLs) under Windows, using the Mingw32
> environment (*). People willing to try it, should get the latest version
> from CVS and compile it
> http://sourceforge.net/cvs/?group_id=30035
To simplify things (and also because during the day I found a couple of
bugs :-)), I have uploaded a tarball with a precompiled ECL to
http://ecls.sf.net/ Unpack it in the home directory of your MSYS/MINGW
installation, and have fun.
Enjoy it,
Juanjo
From: Juan Jose Garcia Ripoll
Subject: Re: ECL now produces and loads DLLs under Windows
Date:
Message-ID: <2jivd9F12quqoU1@uni-berlin.de>
Hi,
the implementation of Common-Lisp ECL v0.9d (pre-release) is now
available as a self installing executable at
http://ecls.sf.net/ecl-0.9d.exe.
The self installing package will provide you with an ECL that supports
the CMU pretty printer, has _no_ support for threads (volunteers are
welcome to port this), and can produce and load dynamically DLLs (if
Mingw32 is installed on your computer).
For further information, check the mailing list or the homepage
(http://ecls.sf.net)
Regards,
Juanjo