Jens Peter Secher | 2 Aug 2009 23:15
Picon
Favicon

Re: Neko 1.8.1 Released !

2009/7/31 Nicolas Cannasse <ncannasse <at> motion-twin.com>:
> Michael Pliskin a écrit :
>>
>> Echoing Jens's comment: it'd be nice to have more traditional and
>> OS-friendly way to install neko and its components. We should have rpm and
>> debian packages I believe. We have them already for Fedora and Debian
>> (correct?),

There certainly are packages for Debian, see

    http://packages.debian.org/neko
    http://packages.debian.org/haxe

and for backports-in-preparation (which should also make it easier for
Ubuntu users)

    http://people.debian.org/~jps

>> but tora is missing there, so I vote for it to be added more or
>> less the way Jens suggests. Haxelib is great for development, but no so nice
>> for configuring the production servers: for instance, when there is a
>> security fix for mysql client applied, you normally want to propagate that
>> into neko-mysql which requires a rpm/debian package with dependencies and
>> all of it, and haxelib is not of much help here.
>
> I'll let the package maintainers decide on this one, I don't have a strong
> religious thinking about how tora should be distributed ;)

OK, thanks.  However, I do not think I have the time myself right now
to find a good solution for how to include the full Tora in the Debian
(Continue reading)

Nicolas Cannasse | 10 Aug 2009 19:51
Favicon
Gravatar

Crash fix on Windows

Hi,

Since Neko 1.8.0 there was a crash occurring sometimes within finalizers 
(Windows only). This is now fixed on CVS version.

Best,
Nicolas

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Mark Craig | 22 Aug 2009 18:03
Picon
Gravatar

Multicast Socket Support Patch...

Hey Guys,


Just started playing with haxe + neko on embedded linux systems, so I'm a total newbie...

I want to implement some multicast-based dynamic discovery protocol stuff, and ran into some problems when trying to listen to multicast traffic...

I got this working by patching neko's standard socket binding routine to allow igmp joins when the given host is between 224.0.0.0 and 239.255.255.255.  Is this something that you guys would be interested in incorporating???

I thought of just making one of those ndll extensions, but it seems to make more sense to augment the standard socket library.  It would also be good to add an api call to adjust the transmitted multicast time-to-live value...so that the multicast messages could traverse larger routed networks that have a few hops between the source and destination.  The default multicast ttl is '1' (just 1 router hop and done)...

Also, I noticed that the haxe 'socket.input.readLine' call actually landed at neko's "socket_recv_char" routine.  Neko looks to read the char correctly, but only one char is read for some reason...perhaps just a haxe issue...

Thanks guys, great vm!

Mark
--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Justin Collins | 25 Aug 2009 21:42
Favicon
Gravatar

Stack overflow: bug or limitation?

Hello all,

I cannot tell if this is a limitation or bug in Neko. The code below 
will cause a stack overflow during compilation, which looks something like:

Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 720
Called from neko/Compile.nml line 738
Called from core/List.nml line 64
....
Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 720
Called from neko/Compile.nml line 738
Called from core/List.nml line 64
Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 719
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Exception : Neko_error(Stack overflow)

--------------------

var temp1 = 1
var temp2 = 2
var temp3 = 3
var temp4 = 4
var temp5 = 5
var temp6 = 6
var temp7 = 7
var temp8 = 8
var temp9 = 9
var temp10 = 10
var temp11 = 11
var temp12 = 12
var temp13 = 13
var temp14 = 14
var temp15 = 15
var temp16 = 16
var temp17 = 17
var temp18 = 18
var temp19 = 19
var temp20 = 20
var temp21 = 21
var temp22 = 22
var temp23 = 23
var temp24 = 24
var temp25 = 25
var temp26 = 26
var temp27 = 27
var temp28 = 28
var temp29 = 29
var temp30 = 30
var temp31 = 31
var temp32 = 32
var temp33 = 33
var temp34 = 34
var temp35 = 35
var temp36 = 36
var temp37 = 37
var temp38 = 38
var temp39 = 39
var temp40 = 40
var temp41 = 41
var temp42 = 42
var temp43 = 43
var temp44 = 44
var temp45 = 45
var temp46 = 46
var temp47 = 47
var temp48 = 48
var temp49 = 49
var temp50 = 50
var temp51 = 51
var temp52 = 52
var temp53 = 53
var temp54 = 54
var temp55 = 55
var temp56 = 56
var temp57 = 57
var temp58 = 58
var temp59 = 59
var temp60 = 60
var temp61 = 61
var temp62 = 62
var temp63 = 63
var temp64 = 64
var temp65 = 65
var temp66 = 66
var temp67 = 67
var temp68 = 68
var temp69 = 69
var temp70 = 70
var temp71 = 71
var temp72 = 72
var temp73 = 73
var temp74 = 74
var temp75 = 75
var temp76 = 76
var temp77 = 77
var temp78 = 78
var temp79 = 79
var temp80 = 80
var temp81 = 81
var temp82 = 82
var temp83 = 83
var temp84 = 84
var temp85 = 85
var temp86 = 86
var temp87 = 87
var temp88 = 88
var temp89 = 89
var temp90 = 90
var temp91 = 91
var temp92 = 92
var temp93 = 93
var temp94 = 94
var temp95 = 95
var temp96 = 96
var temp97 = 97
var temp98 = 98
var temp99 = 99
var temp100 = 100
var temp101 = 101
var temp102 =
102
$array(temp1,temp2,temp3,temp4,temp5,temp6,temp7,temp8,temp9,temp10,temp11,temp12,temp13,temp14,temp15,temp16,temp17,temp18,temp19,temp20,temp21,temp22,temp23,temp24,temp25,temp26,temp27,temp28,temp29,temp30,temp31,temp32,temp33,temp34,temp35,temp36,temp37,temp38,temp39,temp40,temp41,temp42,temp43,temp44,temp45,temp46,temp47,temp48,temp49,temp50,temp51,temp52,temp53,temp54,temp55,temp56,temp57,temp58,temp59,temp60,temp61,temp62,temp63,temp64,temp65,temp66,temp67,temp68,temp69,temp70,temp71,temp72,temp73,temp74,temp75,temp76,temp77,temp78,temp79,temp80,temp81,temp82,temp83,temp84,temp85,temp86,temp87,temp88,temp89,temp90,temp91,temp92,temp93,temp94,temp95,temp96,temp97,temp98,temp99,temp100,temp101,temp102) 

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Fode | 25 Aug 2009 21:47
Picon
Gravatar

Re: Stack overflow: bug or limitation?

what is the purpose of this code?

On Tue, Aug 25, 2009 at 12:42 PM, Justin Collins <justin <at> presidentbeef.com> wrote:
Hello all,

I cannot tell if this is a limitation or bug in Neko. The code below will cause a stack overflow during compilation, which looks something like:

Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 720
Called from neko/Compile.nml line 738
Called from core/List.nml line 64
....
Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 720
Called from neko/Compile.nml line 738
Called from core/List.nml line 64
Called from neko/Compile.nml line 739
Called from neko/Compile.nml line 796
Called from neko/Compile.nml line 719
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Called from neko/Compile.nml line 714
Exception : Neko_error(Stack overflow)

--------------------

var temp1 = 1
var temp2 = 2
var temp3 = 3
var temp4 = 4
var temp5 = 5
var temp6 = 6
var temp7 = 7
var temp8 = 8
var temp9 = 9
var temp10 = 10
var temp11 = 11
var temp12 = 12
var temp13 = 13
var temp14 = 14
var temp15 = 15
var temp16 = 16
var temp17 = 17
var temp18 = 18
var temp19 = 19
var temp20 = 20
var temp21 = 21
var temp22 = 22
var temp23 = 23
var temp24 = 24
var temp25 = 25
var temp26 = 26
var temp27 = 27
var temp28 = 28
var temp29 = 29
var temp30 = 30
var temp31 = 31
var temp32 = 32
var temp33 = 33
var temp34 = 34
var temp35 = 35
var temp36 = 36
var temp37 = 37
var temp38 = 38
var temp39 = 39
var temp40 = 40
var temp41 = 41
var temp42 = 42
var temp43 = 43
var temp44 = 44
var temp45 = 45
var temp46 = 46
var temp47 = 47
var temp48 = 48
var temp49 = 49
var temp50 = 50
var temp51 = 51
var temp52 = 52
var temp53 = 53
var temp54 = 54
var temp55 = 55
var temp56 = 56
var temp57 = 57
var temp58 = 58
var temp59 = 59
var temp60 = 60
var temp61 = 61
var temp62 = 62
var temp63 = 63
var temp64 = 64
var temp65 = 65
var temp66 = 66
var temp67 = 67
var temp68 = 68
var temp69 = 69
var temp70 = 70
var temp71 = 71
var temp72 = 72
var temp73 = 73
var temp74 = 74
var temp75 = 75
var temp76 = 76
var temp77 = 77
var temp78 = 78
var temp79 = 79
var temp80 = 80
var temp81 = 81
var temp82 = 82
var temp83 = 83
var temp84 = 84
var temp85 = 85
var temp86 = 86
var temp87 = 87
var temp88 = 88
var temp89 = 89
var temp90 = 90
var temp91 = 91
var temp92 = 92
var temp93 = 93
var temp94 = 94
var temp95 = 95
var temp96 = 96
var temp97 = 97
var temp98 = 98
var temp99 = 99
var temp100 = 100
var temp101 = 101
var temp102 = 102
$array(temp1,temp2,temp3,temp4,temp5,temp6,temp7,temp8,temp9,temp10,temp11,temp12,temp13,temp14,temp15,temp16,temp17,temp18,temp19,temp20,temp21,temp22,temp23,temp24,temp25,temp26,temp27,temp28,temp29,temp30,temp31,temp32,temp33,temp34,temp35,temp36,temp37,temp38,temp39,temp40,temp41,temp42,temp43,temp44,temp45,temp46,temp47,temp48,temp49,temp50,temp51,temp52,temp53,temp54,temp55,temp56,temp57,temp58,temp59,temp60,temp61,temp62,temp63,temp64,temp65,temp66,temp67,temp68,temp69,temp70,temp71,temp72,temp73,temp74,temp75,temp76,temp77,temp78,temp79,temp80,temp81,temp82,temp83,temp84,temp85,temp86,temp87,temp88,temp89,temp90,temp91,temp92,temp93,temp94,temp95,temp96,temp97,temp98,temp99,temp100,temp101,temp102)


--
Neko : One VM to run them all
(http://nekovm.org)

--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Justin Collins | 25 Aug 2009 21:49
Favicon
Gravatar

Re: Stack overflow: bug or limitation?

It's just a minimal example of a problem I ran into when generating code.

-Justin

Fode wrote:
> what is the purpose of this code?
>
> On Tue, Aug 25, 2009 at 12:42 PM, Justin Collins 
> <justin <at> presidentbeef.com <mailto:justin <at> presidentbeef.com>> wrote:
>
>     Hello all,
>
>     I cannot tell if this is a limitation or bug in Neko. The code
>     below will cause a stack overflow during compilation, which looks
>     something like:
>
>     Called from neko/Compile.nml line 739
>     Called from neko/Compile.nml line 796
>     Called from neko/Compile.nml line 720
>     Called from neko/Compile.nml line 738
>     Called from core/List.nml line 64
>     ....
>     Called from neko/Compile.nml line 739
>     Called from neko/Compile.nml line 796
>     Called from neko/Compile.nml line 720
>     Called from neko/Compile.nml line 738
>     Called from core/List.nml line 64
>     Called from neko/Compile.nml line 739
>     Called from neko/Compile.nml line 796
>     Called from neko/Compile.nml line 719
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Called from neko/Compile.nml line 714
>     Exception : Neko_error(Stack overflow)
>
>     --------------------
>
>     var temp1 = 1
>     var temp2 = 2
>     var temp3 = 3
>     var temp4 = 4
>     var temp5 = 5
>     var temp6 = 6
>     var temp7 = 7
>     var temp8 = 8
>     var temp9 = 9
>     var temp10 = 10
>     var temp11 = 11
>     var temp12 = 12
>     var temp13 = 13
>     var temp14 = 14
>     var temp15 = 15
>     var temp16 = 16
>     var temp17 = 17
>     var temp18 = 18
>     var temp19 = 19
>     var temp20 = 20
>     var temp21 = 21
>     var temp22 = 22
>     var temp23 = 23
>     var temp24 = 24
>     var temp25 = 25
>     var temp26 = 26
>     var temp27 = 27
>     var temp28 = 28
>     var temp29 = 29
>     var temp30 = 30
>     var temp31 = 31
>     var temp32 = 32
>     var temp33 = 33
>     var temp34 = 34
>     var temp35 = 35
>     var temp36 = 36
>     var temp37 = 37
>     var temp38 = 38
>     var temp39 = 39
>     var temp40 = 40
>     var temp41 = 41
>     var temp42 = 42
>     var temp43 = 43
>     var temp44 = 44
>     var temp45 = 45
>     var temp46 = 46
>     var temp47 = 47
>     var temp48 = 48
>     var temp49 = 49
>     var temp50 = 50
>     var temp51 = 51
>     var temp52 = 52
>     var temp53 = 53
>     var temp54 = 54
>     var temp55 = 55
>     var temp56 = 56
>     var temp57 = 57
>     var temp58 = 58
>     var temp59 = 59
>     var temp60 = 60
>     var temp61 = 61
>     var temp62 = 62
>     var temp63 = 63
>     var temp64 = 64
>     var temp65 = 65
>     var temp66 = 66
>     var temp67 = 67
>     var temp68 = 68
>     var temp69 = 69
>     var temp70 = 70
>     var temp71 = 71
>     var temp72 = 72
>     var temp73 = 73
>     var temp74 = 74
>     var temp75 = 75
>     var temp76 = 76
>     var temp77 = 77
>     var temp78 = 78
>     var temp79 = 79
>     var temp80 = 80
>     var temp81 = 81
>     var temp82 = 82
>     var temp83 = 83
>     var temp84 = 84
>     var temp85 = 85
>     var temp86 = 86
>     var temp87 = 87
>     var temp88 = 88
>     var temp89 = 89
>     var temp90 = 90
>     var temp91 = 91
>     var temp92 = 92
>     var temp93 = 93
>     var temp94 = 94
>     var temp95 = 95
>     var temp96 = 96
>     var temp97 = 97
>     var temp98 = 98
>     var temp99 = 99
>     var temp100 = 100
>     var temp101 = 101
>     var temp102 = 102
>     $array(temp1,temp2,temp3,temp4,temp5,temp6,temp7,temp8,temp9,temp10,temp11,temp12,temp13,temp14,temp15,temp16,temp17,temp18,temp19,temp20,temp21,temp22,temp23,temp24,temp25,temp26,temp27,temp28,temp29,temp30,temp31,temp32,temp33,temp34,temp35,temp36,temp37,temp38,temp39,temp40,temp41,temp42,temp43,temp44,temp45,temp46,temp47,temp48,temp49,temp50,temp51,temp52,temp53,temp54,temp55,temp56,temp57,temp58,temp59,temp60,temp61,temp62,temp63,temp64,temp65,temp66,temp67,temp68,temp69,temp70,temp71,temp72,temp73,temp74,temp75,temp76,temp77,temp78,temp79,temp80,temp81,temp82,temp83,temp84,temp85,temp86,temp87,temp88,temp89,temp90,temp91,temp92,temp93,temp94,temp95,temp96,temp97,temp98,temp99,temp100,temp101,temp102)
>
>
>
>     -- 
>     Neko : One VM to run them all
>     (http://nekovm.org)
>
>

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Fode | 25 Aug 2009 21:53
Picon
Gravatar

Re: Stack overflow: bug or limitation?

interesting i wonder why it caused a stack over flow

On Tue, Aug 25, 2009 at 12:49 PM, Justin Collins <justin <at> presidentbeef.com> wrote:
It's just a minimal example of a problem I ran into when generating code.

-Justin

Fode wrote:
what is the purpose of this code?

On Tue, Aug 25, 2009 at 12:42 PM, Justin Collins <justin <at> presidentbeef.com <mailto:justin <at> presidentbeef.com>> wrote:

   Hello all,

   I cannot tell if this is a limitation or bug in Neko. The code
   below will cause a stack overflow during compilation, which looks
   something like:

   Called from neko/Compile.nml line 739
   Called from neko/Compile.nml line 796
   Called from neko/Compile.nml line 720
   Called from neko/Compile.nml line 738
   Called from core/List.nml line 64
   ....
   Called from neko/Compile.nml line 739
   Called from neko/Compile.nml line 796
   Called from neko/Compile.nml line 720
   Called from neko/Compile.nml line 738
   Called from core/List.nml line 64
   Called from neko/Compile.nml line 739
   Called from neko/Compile.nml line 796
   Called from neko/Compile.nml line 719
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Called from neko/Compile.nml line 714
   Exception : Neko_error(Stack overflow)

   --------------------

   var temp1 = 1
   var temp2 = 2
   var temp3 = 3
   var temp4 = 4
   var temp5 = 5
   var temp6 = 6
   var temp7 = 7
   var temp8 = 8
   var temp9 = 9
   var temp10 = 10
   var temp11 = 11
   var temp12 = 12
   var temp13 = 13
   var temp14 = 14
   var temp15 = 15
   var temp16 = 16
   var temp17 = 17
   var temp18 = 18
   var temp19 = 19
   var temp20 = 20
   var temp21 = 21
   var temp22 = 22
   var temp23 = 23
   var temp24 = 24
   var temp25 = 25
   var temp26 = 26
   var temp27 = 27
   var temp28 = 28
   var temp29 = 29
   var temp30 = 30
   var temp31 = 31
   var temp32 = 32
   var temp33 = 33
   var temp34 = 34
   var temp35 = 35
   var temp36 = 36
   var temp37 = 37
   var temp38 = 38
   var temp39 = 39
   var temp40 = 40
   var temp41 = 41
   var temp42 = 42
   var temp43 = 43
   var temp44 = 44
   var temp45 = 45
   var temp46 = 46
   var temp47 = 47
   var temp48 = 48
   var temp49 = 49
   var temp50 = 50
   var temp51 = 51
   var temp52 = 52
   var temp53 = 53
   var temp54 = 54
   var temp55 = 55
   var temp56 = 56
   var temp57 = 57
   var temp58 = 58
   var temp59 = 59
   var temp60 = 60
   var temp61 = 61
   var temp62 = 62
   var temp63 = 63
   var temp64 = 64
   var temp65 = 65
   var temp66 = 66
   var temp67 = 67
   var temp68 = 68
   var temp69 = 69
   var temp70 = 70
   var temp71 = 71
   var temp72 = 72
   var temp73 = 73
   var temp74 = 74
   var temp75 = 75
   var temp76 = 76
   var temp77 = 77
   var temp78 = 78
   var temp79 = 79
   var temp80 = 80
   var temp81 = 81
   var temp82 = 82
   var temp83 = 83
   var temp84 = 84
   var temp85 = 85
   var temp86 = 86
   var temp87 = 87
   var temp88 = 88
   var temp89 = 89
   var temp90 = 90
   var temp91 = 91
   var temp92 = 92
   var temp93 = 93
   var temp94 = 94
   var temp95 = 95
   var temp96 = 96
   var temp97 = 97
   var temp98 = 98
   var temp99 = 99
   var temp100 = 100
   var temp101 = 101
   var temp102 = 102
   $array(temp1,temp2,temp3,temp4,temp5,temp6,temp7,temp8,temp9,temp10,temp11,temp12,temp13,temp14,temp15,temp16,temp17,temp18,temp19,temp20,temp21,temp22,temp23,temp24,temp25,temp26,temp27,temp28,temp29,temp30,temp31,temp32,temp33,temp34,temp35,temp36,temp37,temp38,temp39,temp40,temp41,temp42,temp43,temp44,temp45,temp46,temp47,temp48,temp49,temp50,temp51,temp52,temp53,temp54,temp55,temp56,temp57,temp58,temp59,temp60,temp61,temp62,temp63,temp64,temp65,temp66,temp67,temp68,temp69,temp70,temp71,temp72,temp73,temp74,temp75,temp76,temp77,temp78,temp79,temp80,temp81,temp82,temp83,temp84,temp85,temp86,temp87,temp88,temp89,temp90,temp91,temp92,temp93,temp94,temp95,temp96,temp97,temp98,temp99,temp100,temp101,temp102)



   --    Neko : One VM to run them all
   (http://nekovm.org)




--
Neko : One VM to run them all
(http://nekovm.org)

--

-- 
Neko : One VM to run them all
(http://nekovm.org)
Nicolas Cannasse | 25 Aug 2009 22:48
Favicon
Gravatar

Re: Stack overflow: bug or limitation?

Justin Collins a écrit :
> Hello all,
> 
> I cannot tell if this is a limitation or bug in Neko. The code below 
> will cause a stack overflow during compilation, which looks something like:

This a bug because you are getting near from a limitation.
You can only have up to 128 values on the stack in a given call. Your 
temp variables are already using 102 of these, so it is necessary to 
split the single $array allocation into several small ones that will be 
then joined with $aconcat

Looks like there is an issue in your case with this split, I'll have a 
look at fixing it, thanks for reporting the issue.

Nicolas

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Ted Neward | 30 Aug 2009 09:41

RE: Crash fix on Windows

Pulling from CVS, there is a build problem with Visual Studio 2005 with the
Release target of the nekovm project--instead of linking against
"msvcrt60.lib" in nekovm.vcproj, it must be linked against "msvcrt.lib".

In addition, the definition of "ftol2" must be commented out in builtins.h,
or a duplicate symbol link error is thrown.

What is the "official" version of Visual C++ used to compile the Neko VM
releases? The project files claim they require updating when vcbuild (from
VS2005) is run against them.

Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
http://www.tedneward.com

> -----Original Message-----
> From: neko-bounces <at> lists.motion-twin.com [mailto:neko-
> bounces <at> lists.motion-twin.com] On Behalf Of Nicolas Cannasse
> Sent: Monday, August 10, 2009 10:51 AM
> To: neko <at> lists.Motion-twin.com
> Subject: [Neko] Crash fix on Windows
> 
> Hi,
> 
> Since Neko 1.8.0 there was a crash occurring sometimes within
> finalizers
> (Windows only). This is now fixed on CVS version.
> 
> Best,
> Nicolas
> 
> --
> Neko : One VM to run them all
> (http://nekovm.org)

--

-- 
Neko : One VM to run them all
(http://nekovm.org)

Nicolas Cannasse | 30 Aug 2009 11:42
Favicon
Gravatar

Re: Crash fix on Windows

Ted Neward a écrit :
> Pulling from CVS, there is a build problem with Visual Studio 2005 with the
> Release target of the nekovm project--instead of linking against
> "msvcrt60.lib" in nekovm.vcproj, it must be linked against "msvcrt.lib".
> 
> In addition, the definition of "ftol2" must be commented out in builtins.h,
> or a duplicate symbol link error is thrown.

Yes, this is normal.

The issue is that msvcrt.lib will refer to MSVCR71.DLL or MSVCR72.DLL 
depending on your system. And both these DLLs are not part of default 
WinXP install.

So I'm linking with an old version of the LIB which references to the 
first original MSVCRT.DLL. In order for this to work, it is required to 
add ftol2 definition.

Nicolas

--

-- 
Neko : One VM to run them all
(http://nekovm.org)


Gmane