Skip to content

Win 9x support

Sigbjorn wrote the below re his GHC 6.6.1 installer. It sounds like there still is some demand for GHC on Win 9x, so we should have make a non-threaded ghc be built in the nightly builds and handled correctly in the installer creator.

Someone sent an e-mail querying about Win9x compatibility, which
is something I forgot to take into account when building the 6.6.1
installer. To remedy, I've refreshed the installer to include a new
version that ought to work across a wider spectrum of MS OS
versions & releases --

  http://galois.com/~sof/msi/ghc-6-6-1.msi

Notice that since the GHC binary is now being linked with
a 'threaded' RTS, some non-Win9x compatible portions of the
Win32 API is being used & depended upon, causing DLL resolution
at startup to miserably fail.

To counter and workaround this, I've included bin/ghc-u.exe with
the refreshed installer, which is an unthreaded (and faster..) version
of the compiler (=> GHCi.) So, to get a working system under
Win9x, you'll need to either use "ghc-u" directly, or rename it
as ghc.exe (and, as a result, enable 'ghci.exe' usage.)

Also, as with ghc-6.6, if you intend to distribute your 6.6.1-compiled
code that uses the Win32 package, and have it work on Win9x
platforms, you'll need to include the Unicode API layer DLL, which
you'll find in bin/ as unicows.dll
Trac metadata
Trac field Value
Version 6.6.1
Type FeatureRequest
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information