
6 Aug
2013
6 Aug
'13
12:07 a.m.
Hi, If I understand correctly, GHC head supports ld.gold (on Linux). But GHC got the following error: ---- % ghc -pgml=ld.gold -threaded Witty.hs [1 of 9] Compiling Types ( Types.hs, Types.o ) ... [9 of 9] Compiling Main ( Witty.hs, Witty.o ) Linking Witty ... <no location info>: Warning: Couldn't figure out linker information! Make sure you're using GNU ld, GNU gold or the built in OS X linker, etc. ld.gold: -Wl,-u,ghczmprim_GHCziTypes_Izh_static_info: unknown option ld.gold: use the --help option for usage information ---- How can I provide necessary linker information to GHC? --Kazu