【问题标题】:Windows 10, GDB Configure command fails for build operationWindows 10,GDB 配置命令在构建操作中失败
【发布时间】:2017-05-07 15:23:20
【问题描述】:

我在下面缺少什么(路径、环境变量、?)从 Windows 命令提示符窗口运行。

请参阅“gdb-7.12\configure”未被识别为内部或外部命令、可运行程序或批处理文件。”下面:

C:\Users\_gerlad0_\Downloads\Installables\gdb-7.12\build>C:\Users\_gerlad0_\Downloads\Installables\gdb-7.12\configure 'C:\Users\_gerlad0_\Downloads\Installables\gdb-7.12\configure' 未被识别为内部或外部命令, 可运行的程序或批处理文件。

C:\Users\_gerlad0_\Downloads\Installables\gdb-7.12\build>设置路径 路径=C:\Program Files (x86)\GNU Tools ARM Embedded\5.4 2016q2\bin\;C:\ProgramData\Oracle\Java\javapath; C:\Program Files\Common Files\Microsoft Shared\Windows Live; C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live; C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\; C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG 软件栈\bin\; C:\Program Files\NTRU Cryptosystems\NTRU TCG 软件栈\bin\; C:\Program Files\Wave Systems Corp\Gemalto\Access Client\v5\;C:\Program Files (x86)\Windows Live\Shared; c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin; C:\Program 文件 (x86)\QuickTime\QTSystem\; C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\system32\config\systemprofile.dnx\bin; C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\; C:\Program Files\Git\cmd;C:\cygwin64\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

感谢您的任何见解!

【问题讨论】:

  • 从 unix shell(来自 cygwin/mingw)运行配置。
  • 谢谢 dbrank0,看来我需要提高我的阅读理解能力了! (((如何将其标记为已回答?))
  • 我写了一个简短的答案,你可以接受。

标签: windows build gdb


【解决方案1】:

大多数 configure scripts 是为 unix shell 编写的。

您需要从此类 unix shell(例如 bash)运行 configure,您应该从 cygwin/mingw/msys 包中为您的 windows 获取它。

【讨论】:

  • 帮助表示答案旁边的彩色复选标记将其标记为“已接受”。我没有看到复选标记!!我该如何接受??
猜你喜欢
  • 1970-01-01
  • 2019-09-15
  • 2017-08-28
  • 1970-01-01
  • 1970-01-01
  • 2017-09-25
  • 1970-01-01
  • 2018-02-18
  • 2019-02-24
相关资源
最近更新 更多