The following Haskell program doesn't link with a ghc-4.04 on a Sparc
running SunOS 5.6:

module Main where

main :: IO ()
main = do putStrLn (show (round 2))

Error message:

calle@lagavulin ghc Test.hs -o test
ghc: module version unchanged at 55
ld: elf error: file
/export/home/lagavulin/satnam/software/fptools/lib/sparc-sun
-solaris2/ghc-4.04/libHS.a: elf_begin: Format error: archive fmag
ld: fatal: library -lHS: not found
ld: fatal: File processing errors. No output written to test
calle@lagavulin

I had similar problems when using 'floor' as well.

Calle

begin:vcard 
n:Lillieroth;Carl Johan
tel;fax:(408) 559 7114
tel;work:(408) 879 6116
x-mozilla-html:TRUE
org:Xilinx Inc.
version:2.1
email;internet:[EMAIL PROTECTED]
adr;quoted-printable:;;2100 Logic Drive=0D=0A;San Jose;CA;95124-3400;USA
x-mozilla-cpt:;-1888
fn:Carl Johan Lillieroth
end:vcard

Reply via email to