At the moment that doesn't exist, however I am working with a coworker to provide this specific style of interface and a PR representing the first step in that change will be coming early next week.
The basics are that it involves changing how node modules are registered, the result will be source compatible with existing modules (that is it doesn't break existing node addons that need to be compiled) but allows node to integrate new builtin modules quickly and continues to pave a path towards an ABI stable interface such that addons won't need to be recompiled from release to release. Stay tuned, I'll ping back with the github issue number when I have it. On Thu, Jan 2, 2014 at 6:40 PM, Kevin Ingwersen <[email protected]>wrote: > I did not find any note about how to compile the addons INTO the nodejs > binary. I know I need to use node-gyp to compile the addons themselves, but > does this also make real nodejs binaries, with the addons included? > > Am Fr. Jan. 03 2014 03:38:59 schrieb Kaique da silva: > > http://nodejs.org/api/addons.html > > > 2014/1/3 Ingwie Phoenix <[email protected]> > >> Hello there. >> >> I am working on a rather large project - and currently, the actual >> resulting file layout is very tiny. However, there is one problem I >> encountered - and actually, thats quite critical. >> >> My project requires four extensions to be built into the binary - one >> being an actual javascript extension, the rest being C++ addons. >> >> Is that possible, and if - how? I couldn't find anything on google ovo... >> >> Kind regards, Ingwie >> >> -- > > > > > -- > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
