【问题标题】:How to build node.js with --harmony flag on windows如何在 Windows 上使用 --harmony 标志构建 node.js
【发布时间】:2014-12-20 13:32:57
【问题描述】:

我想在 Windows 上从启用了 --harmony 标志的源构建 0.11.x 版本的 node.js。有时它在测试中非常有用。

如何在构建过程中配置 v8 选项?我使用这个命令构建:

vcbuild.bat nosign release x64

【问题讨论】:

    标签: windows node.js


    【解决方案1】:
     - Install python
     - Install Visual Studio (Desktop Express is ok)
     - For MSI
     - Install WIX (3.8 is ok) https://wix.codeplex.com/releases/view/115492
     - Install .NET 3.5
    

    在签出 node.js 0.11.x 的文件夹中运行:

    - python configure --dest-cpu=x64 --v8-options=--harmony
    - .\vcbuild.bat release nosign x64 noprojgen msi
    - run msi package from Release folder
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多