Difference between revisions of "Windows"

From HaskellWiki
Jump to navigation Jump to search
(Changed description of wxHaskell; added link to Win32 package; added winerror; updated several links)
Line 15: Line 15:
   
 
* [[WinHugs]]
 
* [[WinHugs]]
  +
* GHC : Special notes for Cygwin users - [http://www.haskell.org/ghc/docs/6.6/html/building/platforms.html] [http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-cygwin.html]
* GHC : Special note for Cygwin users -
 
http://www.haskell.org/ghc/docs/6.6/html/building/platforms.html;
 
(is http://www.haskell.org/ghc/docs/latest/html/users_guide/ch11s05.html
 
the correct current link?)
 
   
 
== Libraries ==
 
== Libraries ==
   
* GUI : [[WxHaskell]] (new release in progress, goal < 2007-01). Note, see also [[WxHaskell Install]]
+
* GUI : [[wxHaskell]] - A binding of wxWidgets (formerly known as wxWindows) in Haskell. Note, see also [[wxHaskell/Building]]
 
* GUI : [[Gtk2Hs]] - A binding of GTK in Haskell. Note this requires installing [http://www.gtk.org GTK] on windows.
 
* GUI : [[Gtk2Hs]] - A binding of GTK in Haskell. Note this requires installing [http://www.gtk.org GTK] on windows.
* Win32 - low levelish bindings to Windows API. Comes with ghc and non-minimal hugs distribution. [http://darcs.haskell.org/ Win32 darcs repo]
+
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Win32 Win32] - low levelish bindings to Windows API. Comes with ghc and non-minimal hugs distribution. [http://darcs.haskell.org/ Win32 darcs repo]
 
* [[HDBC-ODBC under Windows]] for database access.
 
* [[HDBC-ODBC under Windows]] for database access.
  +
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/winerror winerror]: Error handling for foreign calls to the Windows API
   
 
== Special tips and tricks for Windows ==
 
== Special tips and tricks for Windows ==
Line 38: Line 36:
 
=== Haskell ===
 
=== Haskell ===
   
  +
[http://www.haskell.org/alex/dist/alex-2.0.1-win32.zip Alex 2.0.1] (obsolete) [http://www.haskell.org/haskellwiki/Alex (website)] ;
[http://www.haskell.org/alex/dist/alex-2.0.1-win32.zip Alex 2.0.1] [http://www.haskell.org/alex/ (website)] ; [http://www.cs.york.ac.uk/fp/cpphs-1.2-win32.zip Cpphs 1.2] [http://haskell.org/cpphs/ (website)] ; [http://zooko.com/darcsdir-w32-1.0.7.zip Darcs 1.0.7] [http://darcs.net/ (website)] ; [http://haskell.org/hoogle/other/drift-Sep2006.zip Drift Sep 2006] [http://repetae.net/john/computer/haskell/DrIFT/ (website)] ; [http://haskell.org/ghc/dist/6.4.2/ghc-6-4-2.msi GHC 6.4.2] [http://haskell.org/ghc/ (website)] ; [http://haskell.org/haddock/haddock-0.7-Win32.zip Haddock 0.7] [http://haskell.org/haddock/ (website)] ; [http://www.cs.york.ac.uk/fp/temp/hat-win32-05_jul_2006.zip Hat July 2006] [http://haskell.org/hat/ (website)] ; [http://www.haskell.org/happy/dist/1.13/happy-1-13.msi Happy 1.13] [http://www.haskell.org/happy/ (website)] ; [http://www.haskell.org/hoogle/other/hoogle-win32.zip Hoogle June 2006] [http://www.haskell.org/hoogle/ (website)] ; [ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/hscolour-1.3-win.zip HsColour 1.3] [http://www.cs.york.ac.uk/fp/darcs/hscolour/ (website)] ; [http://haskell.org/hoogle/other/lambdashell-0.3.zip Lambda Shell 0.3] [http://www.eecs.tufts.edu/%7Erdocki01/lambda.html (website)] ; [http://cvs.haskell.org/Hugs/downloads/2006-05/WinHugs-May2006.exe WinHugs May 2006] [http://www.haskell.org/hugs/ (website)] ;
 
  +
[http://www.cs.york.ac.uk/fp/cpphs-1.2-win32.zip Cpphs 1.2] (obsolete) [http://haskell.org/cpphs/ (website)] ;
  +
[http://homepage.mac.com/kirby81_it/darcs/darcs-2.2.1-win1.zip Darcs 2.2.1 for Windows without Cygwin] ;
  +
[http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:bminllzdrpadzvyt54cbhotnam:jqafknaedfksjjq3xmkfpe4g4ppklctw3xwpszufol7zddyx5agq/darcsdir-w32-2.2.0.zip Darcs 2.2.0 for Windows without Cygwin, with SSH support files] ;
  +
[http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:bminllzdrpadzvyt54cbhotnam:jqafknaedfksjjq3xmkfpe4g4ppklctw3xwpszufol7zddyx5agq/darcsdir-cygwin-2.2.0.tar.bz2 Darcs 2.2.0 for Windows with Cygwin] [http://darcs.net/ (website)] ;
  +
[http://repetae.net/computer/haskell/DrIFT/drop/ Drift] [http://repetae.net/john/computer/haskell/DrIFT/ (website)] ;
  +
[http://haskell.org/ghc/dist/6.10.1/ghc-6.10.1-i386-windows.exe GHC 6.10.1]
  +
[http://haskell.org/ghc/ (website)] ;
  +
[http://haskell.org/haddock/haddock-0.7-Win32.zip Haddock 0.7] (obsolete) [http://haskell.org/haddock/ (website)] ;
  +
[http://www.cs.york.ac.uk/fp/temp/hat-win32-05_jul_2006.zip Hat July 2006] [http://haskell.org/hat/ (website)] ;
  +
[http://www.haskell.org/happy/dist/1.13/happy-1-13.msi Happy 1.13] (obsolete) [http://www.haskell.org/happy/ (website)] ;
  +
[http://www.haskell.org/hoogle/other/hoogle-win32.zip Hoogle June 2006] (obsolete) [http://www.haskell.org/hoogle/ (website)] ;
  +
[ftp://ftp.cs.york.ac.uk/pub/haskell/contrib/hscolour-1.9.zip HsColour 1.9] [http://www.cs.york.ac.uk/fp/darcs/hscolour/ (website)] ;
  +
[http://haskell.org/hoogle/other/lambdashell-0.3.zip Lambda Shell 0.3] (obsolete) [http://www.cs.princeton.edu/~rdockins/lambda/home (website)] ;
  +
[http://cvs.haskell.org/Hugs/downloads/2006-05/WinHugs-May2006.exe WinHugs May 2006] [http://www.haskell.org/hugs/ (website)] ;
   
   

Revision as of 17:07, 18 March 2009

GHC is well supported on Windows.


Editors

Compilers

Libraries

Special tips and tricks for Windows

  • darcs : http://wiki.darcs.net/index.html/WindowsConfiguration (although darcs send seems to be broken for now [2006-08-30])
  • Make sure your Haskell compiler (e.g. GHC) and tools are on your system path: http://www.computerhope.com/issues/ch000549.htm
  • GHCi: Using GHCi from a DOS box sucks. Using it from withing shell mode in Emacs sucks a lot less - do 'M-x shell' in emacs, then type 'ghci'.
  • GHCi on cygwin: When running GHC under a Cygwin shell on Windows, Ctrl-C sometimes doesn't work. A workaround is to use the rlwrap program to invoke ghci : In addition to proper Ctrl-C, you also get emacs (or vi) key bindings and command history across sessions, which saves you a load of typing.

Direct downloads

Haskell

Alex 2.0.1 (obsolete) (website) ; Cpphs 1.2 (obsolete) (website) ; Darcs 2.2.1 for Windows without Cygwin ; Darcs 2.2.0 for Windows without Cygwin, with SSH support files ; Darcs 2.2.0 for Windows with Cygwin (website) ; Drift (website) ; GHC 6.10.1 (website) ; Haddock 0.7 (obsolete) (website) ; Hat July 2006 (website) ; Happy 1.13 (obsolete) (website) ; Hoogle June 2006 (obsolete) (website) ; HsColour 1.9 (website) ; Lambda Shell 0.3 (obsolete) (website) ; WinHugs May 2006 (website) ;


Development

CVS 1.11.22 (website) ; Python 2.4.3 (website) ; Scons 0.96.1 (website) ; SVN 1.3.2 (website) ; TextPad 4.7.3 (website) ; Unix Utils 14-04-03 (website) ;