build ghc without ghci libraries?

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: http://haskell.1045720.n5.nabble.com/build-ghc-without-ghci-libraries-tp5823... Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.

On Mon, Nov 30, 2015 at 2:42 PM, Jeremy
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
Not really. But you can try adding `--disable-library-for-ghci` to the line in rules/build-package-data.mk that starts with `"$$(ghc-cabal_INPLACE)" configure ...`.

Thanks, that worked great. -- View this message in context: http://haskell.1045720.n5.nabble.com/build-ghc-without-ghci-libraries-tp5823... Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.
participants (2)
-
Jeremy
-
Thomas Miedema