Slides from my talk at BayNode on September 6, 2012. Talked about the history of node.js' build system and introduced node-gyp.
node-gypBuilding your Node.jsaddons since v0.6!Nathan RajlichBayNodeSeptember 2012
View Slide
About me
About me* My name is Nathan Rajlich
About me* My name is Nathan Rajlich* I’m an engineer at LearnBoost
About me* My name is Nathan Rajlich* I’m an engineer at LearnBoost* I’m one of the Node.js core comitters
About me* My name is Nathan Rajlich* I’m an engineer at LearnBoost* I’m one of the Node.js core comitters* I enjoy running C/C++ code in Node.js
History ofNode’s Build System
node-gyp is born!
node-gypinvokes“gyp”invokes “MSVC”or “make”
node-gypinvokes“clean”, “configure”and “build” together
node-gyp
node-gyp* You DON’T need to install node-gyp
node-gyp* You DON’T need to install node-gyp* It comes bundled with “npm” as of v1.1.6
node-gyp* You DON’T need to install node-gyp* It comes bundled with “npm” as of v1.1.6* When you run “npm install” on a module with a“binding.gyp” file in it, then npm will use itsown internal copy of node-gyp to build it.
go to iTerm 2!