On Fri, Nov 16, 2012 at 2:58 AM, Outsider (JeongHoon Byun)
<[email protected]> wrote:
> node.js have some compile option like --debug or --with-dtrace
> ( https://github.com/joyent/node/blob/master/configure )
>
> How can I check which options are enabled or disabled on node.js binary?
You probably want process.config. It doesn't contain compile or link
flags but it will give you a general idea of the build settings.
$ node -p process.config
{ target_defaults:
{ cflags: [],
default_configuration: 'Release',
defines: [],
include_dirs: [],
libraries: [] },
variables:
{ clang: 0,
gcc_version: 46,
host_arch: 'x64',
node_install_npm: true,
node_prefix: '/home/bnoordhuis/opt/node',
node_shared_cares: false,
node_shared_http_parser: false,
node_shared_openssl: false,
node_shared_v8: false,
node_shared_zlib: false,
node_unsafe_optimizations: 0,
node_use_dtrace: false,
node_use_etw: false,
node_use_openssl: true,
node_use_systemtap: false,
target_arch: 'x64',
v8_enable_gdbjit: 0,
v8_no_strict_aliasing: 1,
v8_use_snapshot: true } }
--
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