Why Haskell ghc does not work, but runghc works well? -
Why Haskell ghc does not work, but runghc works well? -
one code work runghc, can not compile same 1 ghc command. why?
below minimal code , environment: https://gist.github.com/1588756
works well:
$ runghc cat.hs can not compile:
$ ghc cat.hs -o cat macbook air, max os x snow leopard
the .cs extension shown in paste wrong;1 rename file cat.hs , it'll work fine.
this error message:
ld: warning: ignoring file cat.cs, file built unsupported file format not architecture beingness linked (i386) occurs when pass file ghc doesn't know how handle; passes on straight linker, ignores it doesn't know, either. :)
1 @ to the lowest degree until ghc gets c# support...
haskell ghc
Comments
Post a Comment