Profiling in GHC-4.08.1

Reuben Thomas rrt@sc3d.org
Thu, 25 Oct 2001 11:33:12 +0100


Andre W B Furtado writes:
> I was trying to compile a .hs file with the profiling option enabled
> (-prof -auto-all) but I got an error message:
> 
> /usr/bin/ld: cannot find -lHSstd_p_imp
> collect2: ld returned 1 exit status
> 
> Does anyone know what is this "-lHSstd_p_imp"? I am using GHC-4.08.1 (with
> Cygwin) under a Windows 98 platform.

You're trying to use profiling with dynamic compilation. You can't,
since there are no profiling DLLs, so use -static.

-- 
http://sc3d.org/rrt/ | Analogy is a midwife, identity a murderer