GithubHelp home page GithubHelp logo

node-cross-compiler's Introduction

node-cross-compiler

This project aims to simplify the process of cross-compiling node.js on smartphone and robotics platforms.

My main target platform is the Parrot AR Drone 2.0, but I will merge pull requests for any other platforms as well.

Requirements

You will need to install vagrant as the cross compiling is done inside of a virtual machine.

Cross compiling

Cross compiling node.js for the ardrone2 is as easy as running:

$ git clone git://github.com/felixge/node-cross-compiler.git
$ cd node-cross-compiler
$ vagrant up
$ vagrant ssh
$ cd cross-compiler
$ ./setup-vm.sh
$ make ardrone2

This will fire up a new vagrant machine, ssh into it, and build node.js to run on the ardrone2. You will find the resulting binary in build/bin/node.

Platforms

ardrone2

Helpers have been added for installing node on the ardrone. Simply running ./helpers/ardrone2.sh will build and install node on your drone.

Contributing

If you want to contribute support for another platform, we probably need a common.sh file for shared environment variables. Other than that it should be as simple as adding it to the platforms folder and Makefile.

node-cross-compiler's People

Contributors

andrew avatar felixge avatar rmehner avatar weltenwort avatar

Watchers

 avatar  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.