[Haskell-cafe] Cannot compile Network.CGI programs
Donald Bruce Stewart
dons at cse.unsw.edu.au
Sat May 26 04:03:37 EDT 2007
aneumann:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Hi,
>
> I installed the Network.CGI package and tried to compile the Hello World
> example on my Ubuntu machine.
>
> >ghc cgi.hs -o cgi
Missing --make to link against the cgi and network and mtl packages.
Also, -O or -O2, you may as well optimise your code :-)
I'd use:
ghc --make -O cgi.hs -o cgi
-- Don
More information about the Haskell-Cafe
mailing list