How to link with the GNU gold linker instead of ld in Haskell
Link 3x faster with gold Since GHC 7.8, you can tell GHC and cabal (at run time without having to recompile GHC) to link with GNU gold. You need in your .cabal file: library: ghc-options: -optl-fuse-ld=gold ld-options: -fuse-ld=gold executable myExecutable ghc-options: -optl-fuse-ld=gold ld-options: -fuse-ld=gold (Note you might want to pass these flags to stack/cabal/Setup.hs on … Read more