GHC Command Line Help

Steinitz, Dominic J [email protected]
21 Dec 2000 16:35:18 Z


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: GHC Command Line Help

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
/usr/lib/ghc-4.08.1/libHSdata.a(FiniteMap__1.o): In function `__init_FiniteMap':
FiniteMap__1.o(.text+0x16): undefined reference to `__init_GlaExts'
collect2: ld returned 1 exit status                                            

-------------------------------------------------------------------------------------------------
21st century air travel     http://www.britishairways.com




-------------------------------------------------------------------------------------------------
21st century air travel     http://www.britishairways.com