From: Goffioul Michael <goffioul@im...> - 2004-10-14 10:30:21
> Goffioul Michael wrote:
> >After a few days of hard fight with Microsoft compiler, I finally
> >succeeded in compiling the full ECL package with MSVC6 under
> >Windows. It works great and I even could embed the whole ECL
> >engine in MATLAB/MEX under Windows. ECL looks like a great tool
> >for embedding purpose.
> >If there's some interest, I can provide a patch.
> > =20
> I am more than interested :-) How do you manage to compile=20
> ECL? Do you=20
> build GMP and Boehm-Weiser GC separately? Do you need MSYS? If the=20
> patches are big, please send them to my private address:=20
This wasn't an easy task, it was mainly a matter of writing the
Makefile's. It does not require MSYS, but still requires the
presence of a few tools like "sed" and "grep" (there exists plain
I'm using the Boehm-Weiser GC, using the NT_MAKEFILE file for
I'm partially using the GMP patch for Windows found at
http://fp.gladman.plus.com/computing/gmp4win.htm, but I rewrote
I then modified ECL code to take into account MSVC command syntax
and Win32 system (for the latter, mingw32 modifications suited in
most cases). I enabled cmu-format and dlopen. GC and GMP are built
into static libs and included in the larger ecl.dll which only
exports the functions found in external.h (for this, I had to write
an ecl.def file manually).
In all cases, I tried to touch the existing files as less as possible
and do the job in separate files. I'll send a patch later today.