This repository contains Lua 5.3, selected Lua modules and the associated makefiles. The targeted operating systems are Linux and Windows. The targeted architectures are x86, x86-64 and ARM.
You could find information and download binaries on the luajls page.
Target | Status |
---|---|
x86_64-linux-gnu |
This repository mainly contains submodule and so needs to be initialized before it can be used
git submodule init
git submodule update
The OpenSSL, JPEG and EXIF libraries need to be configured prior the build.
Prerequisites
You need make and gcc tools
Build core modules
make
Configure then make all modules
make configure
make all
Create a distribution folder containing the binaries
make dist
Clean the build files
make clean
You could specify the target OS using PLAT=linux
available OSes are linux and windows.
You could specify the target architecture using ARCH=arm
available architectures are arm and x86_64.
You could specify a single module to built using MAIN_TARGET=lua-openssl
Tested on Windows 10 with msys packages available in March 2019
Prerequisites
Install msys2
Install make and mingw32 gcc
pacman -S make mingw-w64-i686-gcc
Install additional stuff for OpenSSL
pacman -S perl libtool texinfo
Add mingw32 and msys in your path using:
SET PATH=...\msys64\mingw32\bin;...\msys64\usr\bin;%PATH%
Prerequisites
Install the Bluetooth library and gtk-webkit2
sudo apt-get install libbluetooth-dev libgtk-3-dev libwebkit2gtk-4.0-dev
Prerequisites
You need to install a specific gcc for cross compile
Install the tools on a Linux OS
Get the Bluetooth library from your Raspberry Pi
export PATH=$HOME/raspberry/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$PATH
export HOST=arm-linux-gnueabihf
export CC=${HOST}-gcc
export LIBBT=../../libluetooth