On Mon, Dec 16, 2013 at 9:19 PM, Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> wrote:
I compiled it all myself and am not using my distro's (Gentoo) package
manager for any Haskell packages.

Will I have to recompile GHC (and everything that comes with it)? If
yes, what flags should I pass to get profiling for the libs?

The version in question is 7.6.3.

You need to adjust build.mk as described in < https://ghc.haskell.org/trac/ghc/wiki/Building/Using#Commonbuild.mkoptions >, and yes, you'll have to reinstall everything else afterward.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net