[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Something is very wrong with floats in my Lua 5.3 build
- From: Rena <hyperhacker@...>
- Date: Sun, 16 Jul 2017 21:51:18 -0400
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.