`gcc.exe' failed in phase `C Compiler'. (Exit code: 1)

亡梦爱人 提交于 2020-01-07 08:11:10

问题


When Cabal or Stack install hackage the error message like title. Full mes is: cabal install ghc-mod realgcc.exe: error: C:\Users\浠ユ亽\AppData\Local\Temp\4118467.c: No such file or directory realgcc.exe: warning: '-x c' after last input file has no effect realgcc.exe: fatal error: no input files compilation terminated. gcc.exe' failed in phaseC Compiler'. (Exit code: 1)


回答1:


Try doing 'stack setup--reinstall'. I had a similar message cleaned up this way.



来源:https://stackoverflow.com/questions/44839260/gcc-exe-failed-in-phase-c-compiler-exit-code-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!