[Vm-dev] Not declared errors when compiling Windows vm

Guillermo Polito guillermopolito at gmail.com
Thu Jan 26 18:51:44 UTC 2012


Ok, I made it work linking C_INCLUDE_PATH to where the right float.h is ¬¬

Guille at arkha ~/cog/gpolito-cogvm/build
$ C_INCLUDE_PATH=/c/MinGW/include/

Guille at arkha ~/cog/gpolito-cogvm/build
$ export C_INCLUDE_PATH

But I don't know why I have not that as a default! :S

Thanks,
Guille

On Thu, Jan 26, 2012 at 3:33 PM, Mariano Martinez Peck <
marianopeck at gmail.com> wrote:

>
>
>
> On Thu, Jan 26, 2012 at 12:44 AM, Guillermo Polito <
> guillermopolito at 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120126/57457eb7/attachment.htm


More information about the Vm-dev mailing list