build ghc without ghci libraries?

Jeremy voldermort at
Mon Nov 30 13:42:34 UTC 2015

I'm currently removing *.o after building ghc to save space (I don't need
them for what I'm doing). Is there a straightforward way to tell GHC not to
build them in the first place, such as --disable-library-for-ghci does for
cabal, instead of deleting them after the fact? (I do need ghci support for
template haskell.)

To clarify, I'm building GHC itself, not using GHC to build a package.

View this message in context:
Sent from the Haskell - Glasgow-haskell-users mailing list archive at

More information about the Glasgow-haskell-users mailing list