
I'd like to add that if you install vanilla cabal from the tarball, the
installation process already installs several libraries that need to be
reinstalled later with profiling enabled, even if you enable the
configuration flag. For this I found convenient to start the cabal
installation as
EXTRA_CONFIGURE_OPTS="--enable-library-profiling" ./bootstrap.sh
Petr
Dne 24. 7. 2014 10:30 "Henning Thielemann"
Am 24.07.2014 01:18, schrieb Andrew Pennebaker:
Fortunately, cabal can reinstall a library with profiling support, with:
cabal install --reinstall -p <library>
Unfortunately, cabal is a bit of a simpleton, so this will fail unless that libraries dependencies are also installed with profiling enabled:
cabal install --reinstall -p <libraryX> <libraryY> <libraryZ> ...
You may obtain a list of dependent packages with ghc-pkg-dep from http://hackage.haskell.org/package/cabal-sort
_______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries