【发布时间】:2018-09-29 20:25:30
【问题描述】:
我使用的是 Windows 10,编译器经验有限。
在命令提示符where gcc 返回:
C:\Program Files (x86)\CodeBlocks\MinGW\bin\gcc.exe
C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin\gcc.exe
如果我希望第二个优先,我该如何更改顺序?
这是因为当我执行某些 Go 代码(去 github.com/hajimehoshi/ebiten/...)时,我得到如下错误:
cc1.exe: sorry, unimplemented: 64-bit mode not compiled in..
所以它似乎是 32 位和 64 位版本不匹配。虽然我可以删除对应于 32 位的版本,但我想知道如果一个有多个,如何更改顺序。谢谢。
【问题讨论】:
-
按照您希望它们选择的顺序设置您的 PATH。
标签: windows bash shell gcc command-line