Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Compile Extension Module into node.exe
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Noordhuis  
View profile  
 More options Nov 15 2012, 3:47 pm
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Thu, 15 Nov 2012 21:46:45 +0100
Local: Thurs, Nov 15 2012 3:46 pm
Subject: Re: [nodejs] Compile Extension Module into node.exe

On Thu, Nov 15, 2012 at 8:56 PM, Mike Parsons <mike.r.pars...@gmail.com> wrote:
> Is there a way to compile a custom extension module (i.e.
> https://github.com/developmentseed/node-sqlite3) directly into the node.exe?

Yes, but it's not supported so it might break anytime you upgrade.  In
no particular order:

- drop your code in src/ and lib/
- add your files to node.gyp
- patch src/node_extensions.h

Files in lib/ are loaded with require(), files in src/ with process.binding().


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.