Hi!

On Thursday, March 5, 2015 at 6:47:50 AM UTC-8, Cong Liu wrote:
>
> I want to build exactly the same node.js as official release. So that it's 
> as same stable and secure as official builds. The configure script 
> provides various options to build node.js. For example, shared openssl or 
> not, with or without ssl2 and ssl3, v8 options etc. However I can't find a 
> documentation of how official builds use these switches. Do they use 
> default configurations?
>

On Linux, official binaries are built by building the "binary" target found 
in Makefile. For node v0.10.x, it corresponds to the following configure 
options: --prefix=/ --without-snapshot --dest-cpu=$(DESTCPU), where 
$(DESTCPU) is either x64 or ia32. For node v0.12.x, the same configure 
options are used with the addition of --download=all --with-intl=small-icu.

On Windows, binaries are built by running vcbuild.bat build-release, which 
enables the same options as for Linux binaries.

On MacOS X, the "pkg" target is built, which also uses the same configure 
options as on Linux.

Please keep in mind however that enabling the same configure options does 
not mean that the same code is compiled the same way on all platforms.

Let me know if you have any question!

Julien

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/075c351f-83c4-4972-a593-efea0aaca5e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to