"Steinitz, Dominic J" wrote:
>
> I was experimenting with using FiniteMap. The program compiled ok but the linker
>gave me the following error. What do I need to include on the command line or have I
>not installed ghc correctly?
>
> [dom@lhrtba8fd85 FiniteMap]$ /usr/bin/ghc -o main test.o -L/
Sorry. It's obviously -fglasgow-exts. I didn't realise it did things at the linking
stage as well as the compilation stage.
Dominic Steinitz
21/12/2000 16:30:15
To: glasgow-haskell-users
cc: Chris.Reade
djrussell
B.Avery
dominic
molyneux
bcc:
Subject: G
I was experimenting with using FiniteMap. The program compiled ok but the linker gave
me the following error. What do I need to include on the command line or have I not
installed ghc correctly?
[dom@lhrtba8fd85 FiniteMap]$ /usr/bin/ghc -o main test.o -L/usr/lib/ghc-4.08.1 -
lHSlang -lHSdata
/u