[Haskell-cafe] Building applications with profiling
fuuzetsu at fuuzetsu.co.uk
Tue Dec 17 02:19:30 UTC 2013
On 17/12/13 01:37, Brandon Allbery wrote:
> On Mon, Dec 16, 2013 at 8:14 PM, Mateusz Kowalczyk
> <fuuzetsu at fuuzetsu.co.uk>wrote:
>> I can't really recompile mtl with profiling considering that just about
>> every single package on my system seems to depend on it and they would
>> (probably?) all break.
>> Does anyone have any suggestions on how to approach the problem? Am I
>> doing it all wrong?
> How did you install ghc and the Haskell Platform? Vendor packages on Linux
> may split out the profiling libraries into separate packages (e.g. on
> Fedora 19 ghc-mtl-devel includes the profiling libraries, but on Debian
> wheezy they're separated into libghc-ghc-mtl-prof instead of being in
> libghc-ghc-mtl-dev). Installing such packages will not break anything using
> the existing -dev packages' libraries.
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.
More information about the Haskell-Cafe