[Haskell-cafe] ghc 6.2.2 seems to ignore -package when there's a -prof option

Seth Gordon sethg at ropine.com
Wed Oct 11 16:01:30 EDT 2006


I have a program using HSQL that I'm trying to profile.  When I do

ghc program.hs -package hsql -o program

it compiles fine, but when I do

ghc -prof -auto-all program.hs -package hsql -o program

I get error messages saying "failed to load interface for
`Database.HSQL'" and so forth, the same way I do if I leave off the
-package argument entirely.

How can I work around this?


More information about the Haskell-Cafe mailing list