lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I added a platform to the Makefile:
kobo:
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN"
SYSLIBS="-Wl,-E -ldl"

and edited the compile commands:
TOOLCHAIN=arm-linux-gnueabihf-

CC= $(TOOLCHAIN)gcc -std=gnu99
CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_2 $(SYSCFLAGS) $(MYCFLAGS)

The result is a Lua 5.3 that seems to work except when floats are involved:
> print(1.0)
503.0

I'm not sure where to begin looking to debug this. Any ideas?

-- 
Sent from my Game Boy.