Some Lua Oddness...


Schnatterplatsch

Well-Known Member
Joined
Feb 8, 2009
Messages
1,086
Hi there,

I'm currently working on a game that uses LUA for scripting purposes - and of course I want it to run on WiZ (and Caanoo), too. I "maked" the latest 5.2alpha (without libreadline which seems to be neither in the openwiz SDK nor in GPH_SDK). The commandline - interpreter "lua" works fine via termula, but a simple C - Programm that uses lua claims that it cannot find "/lib/libgcc_s.so.1 Version 4.2.0" (...but works fine without lua-linkage and lua-calls). I tried to copy the libgcc from the sdk there, what bricked my wiz (temorary, of course :) ).

I'll conitnue trying, but any ideas so far?
 
Did you manage to get it working?

guitars on fire (source here) uses lua too, and it just works fine there. maybe you can get some hints from it?
 
....oh, forgot to mention: Added -lgcc and everything works. I only don't understand why, for I always thought libgcc are all the functions of the stdlib and get linked automaticly.

But anyway: Thanks :)
 
Back
Top