BTW, important information I missed:
Ok, I made it work linking C_INCLUDE_PATH to where the right float.h is ¬¬Guille@arkha ~/cog/gpolito-cogvm/build$ C_INCLUDE_PATH=/c/MinGW/include/Guille@arkha ~/cog/gpolito-cogvm/build$ export C_INCLUDE_PATHBut I don't know why I have not that as a default! :SThanks,GuilleOn Thu, Jan 26, 2012 at 3:33 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
On Thu, Jan 26, 2012 at 12:44 AM, Guillermo Polito <guillermopolito@gmail.com> wrote:
Hi!I'm trying to get Windows VM compiled with Msys, using the Cog source code in the git repository. I've almost surpassed everything, but I'm having some "not declared" errors like this:c:/MinGW/msys/1.0/home/Guille/cog/gpolito-cogvm/platforms/win32/vm/sqWin32Intel.c:1250:27: error: '_MCW_EM' no se declar¾ aquÝ (primer uso en esta funci¾n)related to these lines of the sqWin32Intel.c file:...#define FPU_DEFAULT (_RC_NEAR + _PC_53 + _EM_INVALID + _EM_ZERODIVIDE + _EM_OVERFLOW + _EM_UNDERFLOW + _EM_INEXACT + _EM_DENORMAL)...in squeakExceptionHandler and sqMain_control87(FPU_DEFAULT, _MCW_EM | _MCW_RC | _MCW_PC | _MCW_IC);...However, if I comment those lines, I can compile and everything seem to work :/.I googled a little but I've not found anything that helps me... Has anyone has this problem? Is it a Msys configuration problem?
Hi Guille. I just tried everythign from scratch in a windows box and I could build, I couldn' reproduce your issue. There was a problem that the make won't link correctly, and this was because the targetDir was wrong for Windows. I have just fixed that in CMakeVMMaker-MarianoMartinezPeck.145
but that has nothing to do with your problem.
Cheers
Thanks!Guille
--
Mariano
http://marianopeck.wordpress.com