Ok, so try to replace the JIT_load method in main/gbx/gbx_jit.c with this one:
bool JIT_load(){ static bool loaded = FALSE; static bool available = TRUE; if (loaded) return TRUE; if (!available) return FALSE; COMPONENT_load(COMPONENT_create("gb.jit")); LIBRARY_get_interface_by_name("gb.jit", JIT_INTERFACE_VERSION, &JIT); JIT.Init((GB_JIT_INTERFACE *)(void *)GAMBAS_JitApi, &EXEC_current, &SP, &TEMP, &RET, &GAMBAS_StopEvent, (char **)&EXEC_enum, &EXEC, &EXEC_unknown_name, &EVENT_Last, &ERROR_current, &ERROR_handler, &STRING_char_string[0]); loaded = TRUE; return loaded; } Now it always throws an error if the jit couldn't be loaded. Another question: do you have another version of gbx3 installed somewhere that happen to run instead of the one with jit functionality? /Emil 2012/5/24 Emil Lenngren <emil.lenng...@gmail.com> > Gambas scripts are runned by the gbs3 scripter, that takes your script, > makes a class of it, take the code outside all the functions > and put it in a Main method. It is then run normally by first compiling it > with gbc3 and then running it with gbx3 .. kind of .. ;) > See source code here: > > http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/app/src/gbs3/.src/MMain.module?view=markup&pathrev=4768 > > > 2012/5/24 Ru Vuott <vu...@yahoo.it> > >> >> > Try to run the benchmark >> > http://gambasdoc.org/help/doc/benchmark/polynom >> > <http://gambasdoc.org/help/doc/benchmark/polynom>and >> >> ...I don't understand that strange: >> >> .... >> End >> >> Dim I As Integer >> >> For I = 1 To 10 >> Print Test(0.2) >> Next >> >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user