build ghc without ghci libraries?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

build ghc without ghci libraries?

Jonathon Delgado
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.
Reply | Threaded
Open this post in threaded view
|

Re: build ghc without ghci libraries?

Thomas Miedema


On Mon, Nov 30, 2015 at 2:42 PM, Jeremy <[hidden email]> wrote:
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 ...`.

_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|

Re: build ghc without ghci libraries?

Jonathon Delgado
Thanks, that worked great.