17 Jun
2009
17 Jun
'09
4:34 p.m.
Am Mittwoch 17 Juni 2009 18:18:01 schrieb Nico Rolle:
hi
I wanted to compile my little test programm so it can take advantage of a multicore system. But when i call the compiler with
ghc -O2 --make Benchmark.hs -threaded
If your module name is not Main, you need the -main-is flag: ghc -O2 -threaded -main-is Benchmark --make Benchmark or ghc -O2 -threaded -main-is Benchmark.main --make Benchmark
it just produces a acouple of .hi and .o files but no executable. But in the documantation was written that i just need to call ghc like that and it will produce my desired executable. My version of ghc is 6.10.3 regards