luaclibs provides the dependent modules used by luajls.
This repository contains Lua 5.4, selected Lua modules and 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 releases page.
This repository mainly contains submodule and so needs to be initialized before it can be used
git submodule update --init --recursiveThe OpenSSL, Expat, JPEG and EXIF libraries need to be configured prior the build.
Some dependent modules are retrieved using wget without checking the certificate, it is recommended to download these dependencies manually using an up-to-date browser.
Prerequisites
You need make and gcc tools
Build core modules
makeConfigure then make all modules
make configure
make allCreate a distribution folder containing the binaries
make distClean the build files
make clean-allPrerequisites
Install msys2
Install make and mingw gcc
pacman -S make mingw-w64-x86_64-gccInstall additional stuff for OpenSSL and webview
pacman -S perl libtool texinfo zip pkg-configSet mingw64 and msys in the beginning of your path using:
SET PATH=...\msys64\mingw64\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-devPrerequisites
You need to install a specific gcc for cross compilation
# 32-bits
sudo apt-get install gcc-arm-linux-gnueabihf
# 64-bits:
sudo apt-get install gcc-aarch64-linux-gnuYou could also get a standalone toolchain from abhiTronix.
Then export the following variables prior running make
# 32-bits
export HOST=arm-linux-gnueabihf
# 64-bits:
export HOST=aarch64-linux-gnu
export CC=${HOST}-gccYou could also get the Bluetooth library from your Raspberry Pi and set it using the LIBBT environment variable.