Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/felixge/node-cross-compiler
Simplified cross compiling for node.js using vagrant.
https://github.com/felixge/node-cross-compiler
Last synced: about 2 months ago
JSON representation
Simplified cross compiling for node.js using vagrant.
- Host: GitHub
- URL: https://github.com/felixge/node-cross-compiler
- Owner: felixge
- Created: 2012-10-09T18:37:08.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-21T12:37:07.000Z (almost 11 years ago)
- Last Synced: 2024-10-11T15:18:54.464Z (2 months ago)
- Language: Shell
- Size: 137 KB
- Stars: 106
- Watchers: 13
- Forks: 27
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](http://vagrantup.com/) 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:
```bash
$ 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`.