【发布时间】:2013-03-02 03:43:55
【问题描述】:
我希望在构建节点绑定时看到正在使用的编译器和链接器标志。我怎样才能让node-gyp build 以详细模式运行以实现这一目标。 (类似于make VERBOSE=1 for cmake)
【问题讨论】:
-
您是否使用
npm install --verbose ...进行安装?
标签: node-gyp
我希望在构建节点绑定时看到正在使用的编译器和链接器标志。我怎样才能让node-gyp build 以详细模式运行以实现这一目标。 (类似于make VERBOSE=1 for cmake)
【问题讨论】:
npm install --verbose ... 进行安装?
标签: node-gyp
试试
node-gyp rebuild --verbose
【讨论】:
make V=1 帮助我构建详细的V8。我没试过node.js。
我不太了解gyp,但我知道它在Makefile 的请求下写信给out/Makefile
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
【讨论】:
node-gyp,这可以在运行 npm 之前由 export V=1 完成。