Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Add a note about enabling profiling in haskell-platform
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Feb 11, 2014
1 parent 33aaa2b commit 058a346
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion haskell-platform/notes.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
You have to have haskell already installed to build this. Make sure to install
haskell-platform-prof on Linux, not just cabal or ghc.

Edit ~/.cabal/config and change

-- library-profiling: False

to

library-profiling: True

If you see

Could not find module `Prelude'
Perhaps you haven't installed the profiling libraries for package `base'?
Use -v to see a list of the files searched for.

try using cabal to install the package in question.
try using cabal to install the package in question. You may need to use
`--reinstall --force-reinstalls` to make it reinstall with profiling support.

0 comments on commit 058a346

Please sign in to comment.