GHC unable to find mingwinclude directory on Windows - Stack Overflow
Today I used ghcup to automatically installed all haskell tool chains. When I entered ghc -Wall C:\2.hs -fforce-recomp
,the response is:
[1 of 2] Compiling Main ( C:\\2.hs, C:\\2.o ) clang: error: no such file or directory: 'Files\ghcup\ghc\9.4.8\lib\../mingw/include'
<no location info>: error:
`clang.exe' failed in phase `Assembler'. (Exit code: 1)
I mean, this directory exists: C:\Program Files\ghcup\ghc\9.4.8\mingw
and under this directory C:\Program Files\ghcup\ghc\9.4.8\lib
, it does not have a path named mingw
. How can I fix it?
(On windows11)
最新文章
- Rambus联手微软:研究量子计算内存
- 死忠安卓粉看iPhone 6S:根本没创新!
- 微软软件业务将全面转向免费增值模式
- 三问凡客“毁三观”
- 鲍尔默安抚硬件伙伴:Surface只是一个参考设计
- 2012年NEC云时代平台软件全国巡展启动
- c++ - What is the fastest way to upcast std::shared_ptr<std::unique_ptr<T>>? - Stack Overflow
- javascript - How to check if a track is already added to a WebRTC peer connection before adding it? - Stack Overflow
- android - Room Database is very slow For query 20 results with limit in 25k records - Stack Overflow
- powerbi - I have two table Fact table and Dimention table and I am trying to calculate Past year sales .Value its not working -
- node.js - Send GET request with pfx file using AXIOS failed - Stack Overflow
- responsive design - How achieve given UI using custom clipper in flutter - Stack Overflow
- javascript - Alphabetize options in a select list, retain event listeners - Stack Overflow
- python - Can't run pytest with a `FileNotFoundError: [Errno 2] No such file or directory: 'tmppip-build-env-3fag
- java - XSLT 3.0 chained burst-streaming with saxon - memory consumption considerations - Stack Overflow
- python - Best way to chunk data from SQLAlchemy based on date? - Stack Overflow
- Generic Trait Parameters in Rust - Stack Overflow