On Mon, Oct 29, 2012 at 7:21 PM, Mike <
mike.h...@gmail.com> wrote:
> Given a node binary, any easy way of determining what options were passed to
> ./configure when the binary was built?
Yes, for certain values of 'easy'.
$ node -pe 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_install_waf: true,
node_prefix: '/home/bnoordhuis/opt/node',
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,
target_arch: 'x64',
v8_no_strict_aliasing: 1,
v8_use_snapshot: true } }