简体   繁体   中英

How do you install GHC into Cygwin or point Cygwin to GHC?

I attempted to point the Cygwin installer to http://haskell.org/ghc/cygwin , but the installer was unable to find setup.ini.sig. If possible, how could I alternatively edit my .bashrc to reference an installation made using the setup binaries in C:/ghc/.

When I installed the Windows version of GHC, added its binaries location to my PATH environment variable, I was able to run it from Cygwin's BASH just fine. I've never attempted to install or compile GHC on Cygwin itself.

Just add --no-verify to setup.exe which means

Don't verify setup.ini signatures

http://cygwin.com/faq/faq-nochunks.html#faq.setup.cli

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM