Giter Site home page Giter Site logo

luaclibs's Introduction

Overview

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 Build Status

How to setup?

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.

How to 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

How to build on Windows (MinGW)?

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%

How to build on Linux?

Prerequisites

Install the Bluetooth library and gtk-webkit2

sudo apt-get install libbluetooth-dev libgtk-3-dev libwebkit2gtk-4.0-dev

How to build for Raspberry Pi (ARM)?

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

luaclibs's People

Contributors

javalikescript avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.