Hi Juanjo, Yesterday, I tried to cross build a native Windows ECL compiler but it looks as if the current configure/build infrastructure puts far more burdens than it ought to be -- and this goes back to some discussions we had last month. More on that later.
I then decided to use Wine to compile ECL. I needed to apply the patchlet attached to this email. The first hunk is needed because even though a true windows system won't mind that the '.exe' is left out ecl_min is invoked, the build environment still cares. The second hunk is needed for a similar reason. Although NTFS is case-insensitive and case-preserving, the build filesystem may still care. The build did not complete because of some issues related to how wine maps drives to actual build pathnames, but my suspicion is that it is close. -- Gaby
Index: src/Makefile.in =================================================================== RCS file: /cvsroot/ecls/ecl/src/Makefile.in,v retrieving revision 1.104 diff -p -r1.104 Makefile.in *** src/Makefile.in 4 Jul 2010 20:55:04 -0000 1.104 --- src/Makefile.in 12 Sep 2010 11:45:19 -0000 *************** bin/ecl$(EXE): ecl_min$(EXE) compile.lsp *** 72,78 **** if [ -f CROSS-COMPILER ]; then \ ./CROSS-COMPILER compile; \ else \ ! ECLDIR=`pwd`/ ./ecl_min compile; \ fi ecl_min$(EXE): $(LIBRARIES) .gdbinit @libpre...@eclmin.@LIBEXT@ --- 72,78 ---- if [ -f CROSS-COMPILER ]; then \ ./CROSS-COMPILER compile; \ else \ ! ECLDIR=`pwd`/ ./ecl_min$(EXE) compile; \ fi ecl_min$(EXE): $(LIBRARIES) .gdbinit @libpre...@eclmin.@LIBEXT@ Index: src/c/time.d =================================================================== RCS file: /cvsroot/ecls/ecl/src/c/time.d,v retrieving revision 1.44 diff -p -r1.44 time.d *** src/c/time.d 22 Aug 2010 21:03:27 -0000 1.44 --- src/c/time.d 12 Sep 2010 11:45:20 -0000 *************** *** 34,40 **** #include <ecl/internal.h> #if defined(ECL_MS_WINDOWS_HOST) # include <windows.h> ! # include <WinSock.h> #endif #if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) && !defined(ECL_MS_WINDOWS_HOST) --- 34,40 ---- #include <ecl/internal.h> #if defined(ECL_MS_WINDOWS_HOST) # include <windows.h> ! # include <winsock.h> #endif #if !defined(HAVE_GETTIMEOFDAY) && !defined(HAVE_GETRUSAGE) && !defined(ECL_MS_WINDOWS_HOST)
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Ecls-list mailing list Ecls-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ecls-list