[Ecls-list] Bug fixed [mingw32]
Marko Kocić
marko.kocic at gmail.com
Mon Jun 4 10:02:08 UTC 2007
This fixes regular mingw build under win32.
However, when using custom built gcc (4.0, 4.1, 4.2) build fails
because _MCW_EM is not defined there.
The following patch enables ecl to build using gcc-4.2 under mingw (on windows):
cvs -z9 diff -u -- src\h\internal.h (in directory C:\dev\cvstree\ecl\ecl\)
Index: src/h/internal.h
===================================================================
RCS file: /project/ecl/cvsroot/ecl/src/h/internal.h,v
retrieving revision 1.44
diff -u -r1.44 internal.h
--- src/h/internal.h 18 Jan 2007 15:01:16 -0000 1.44
+++ src/h/internal.h 4 Jun 2007 09:16:17 -0000
@@ -240,7 +240,7 @@
# define FE_UNDERFLOW EM_UNDERFLOW
typedef int fenv_t;
# else
-# define MCW_EM _MCW_EM
+# define MCW_EM 0x0008001F
# define fenv_t int
# endif
# define feenableexcept(bits) { int cw = _controlfp(0,0); cw &=
~(bits); _controlfp(cw,MCW_EM); }
Thanks,
Marko
On 6/3/07, Juan Jose Garcia-Ripoll <jjgarcia at users.sourceforge.net> wrote:
> - MINGW's compiler is broken: it does not accept directories with trailing
> slashes as an argument to "-I". We include a hack in cmpmain.lsp for that.
>
> This only affects the Mingw system under Windows.
>
> Juanjo
>
> --
> Facultad de Fisicas, Universidad Complutense,
> Ciudad Universitaria s/n Madrid 28040 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
>
More information about the ecl-devel
mailing list