Nothing deep going on, the profiling interface files for the 'util'
package are simply just missing from the 5.02 distribution.

--sigbjorn

----- Original Message -----
From: "P Jensen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 12, 2001 14:00
Subject: GHC-5.02/Win32: problems compiling with -prof and -package


> Hi GHCers --
>
> I'm running GHC 5.02 on Win32 (2000 Professional), and having problems
> compiling with the "-prof" option. There seems to be some sort of conflict
> between the -package option and the -prof option.
>
> For instance, this program:
>
> >module Main where
> >main = putStr "Hello, world.\n"
>
> compiles fine with:
>
>   ghc -prof -auto-all -o t1 t1.lhs
>
> and this program:
>
> >module Main where
> >import GetOpt
> >main = putStr "Hello, world.\n"
>
> compiles fine like this:
>
>   ghc -package util -o t2 t2.lhs
>
> but when compiled like this:
>
>   ghc -prof -auto-all -package util -o t2 t2.lhs
>
> it results in an error:
>
>   t2.lhs:2:
>       failed to load interface for `GetOpt':
>           Could not find interface file for `GetOpt'
>
> My guess is that this is some sort of configuration problem on my end, or
a
> grave misunderstanding of how to invoke the compiler/profiler.
>
> Does anyone have any ideas?
>
> Cheers,
> Paul
>



_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to