-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated docs for nan c++11 requirements
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,6 +85,16 @@ Make device writable | |
sudo chmod o+rw /dev/i2c* | ||
```` | ||
|
||
Install gcc 4.8 (required for Nan) | ||
|
||
````bash | ||
sudo apt-get install gcc-4.8 g++-4.8 | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6 | ||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8 | ||
sudo update-alternatives --config gcc | ||
|
||
```` | ||
|
||
Set correct device for version | ||
|
||
```javascript | ||
|
@@ -124,6 +134,12 @@ npm install [email protected] | |
- **click boards** https://github.com/TheThingSystem/node-click-boards | ||
- more: https://www.npmjs.org/browse/depended/i2c | ||
## Contributors | ||
Thanks to @alphacharlie for Nan rewrite! | ||
## Questions? | ||
http://www.twitter.com/korevec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters