[Haskell-cafe] Building Binaries with Cabal
jgoerzen at complete.org
Thu Nov 30 16:13:37 EST 2006
On Thu, Nov 30, 2006 at 08:53:36PM +0000, Neil Mitchell wrote:
> Arrrrggggghhhhhhh! To test if the operating system is windows you
> compare against a hard coded string which _isn't_ an OS, but _is_ an
> optional component by a 3rd party. It's required to build some Haskell
> compilers, but for Yhc and Hugs its not required at any stage, and its
> presence is optional!
Your point is well-taken, but the distinction is useful. If running on
cygwin, my platform is essentially POSIX, even though the OS is Windows.
And yes, I do claim that this isn't my fault ;-)
More information about the Haskell-Cafe