【问题标题】:Missing python on MinGWMinGW 上缺少 python
【发布时间】:2016-11-02 08:52:23
【问题描述】:

我正在尝试使用 Mingw 在 Windows7 上构建 gdb。我正在使用“--with-python”标志对其进行配置。但是,我收到错误:

configure:8898: checking for python 
configure:8916: found /c/Python34//python 
configure:8929: result: /c/Python34//python 
configure:9067: checking for python34 
... 
configure:9095: result: no 
configure:9278: error: python is missing or unusable

我想这可能是因为我使用的是 64 位版本的 python,而 mingw 是 32 位的。我尝试使用MinGW64,但我觉得它没有用——它不支持 bash,而且我不能使用配置脚本。

请展示使用 python 在 mingw32 上构建 gdb 的方法,或者如何使 MinGW 可用。

【问题讨论】:

    标签: python gdb mingw32 mingw-w64


    【解决方案1】:

    尝试使用 msys2 来提供 64 位(如果您愿意,也可以是 32 位)gcc。 这带有 bash 和标准的 coreutils

    【讨论】:

      猜你喜欢
      • 2020-11-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-10-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多