Hi Eric, On Wed, 27 Feb 2008 06:55:48 +0900, Eric Kow <[EMAIL PROTECTED]> wrote: > I'm not sure if this really is working yet.
You forgot to add installing phase for profiling library.
So I fixed that in attached profiling.dpatch file.
> Tue Feb 26 21:51:55 GMT 2008 Eric Kow <[EMAIL PROTECTED]>
> * Add a configure option to enable wxcore profiling.
>
> (snip)
>
> hunk ./configure 343
> + --with-hc=3D*)
> + hc=3D"$arg";;
Is this typo?
Do you want to write below code in this place?
-with-hcprof|--with-hcprof)
enableprof="yes";;
-with-hcpkg=*|--with-hcprof=*)
hcprof="$arg"
enableprof="yes";;
I don't fixed this part yet. Because I want to know what you intended.
> Notes:
> - this doesn't work with Cabal (unless you use --with-configure-opts) because
> the Make buildtype doesn't pass along the information we need (at least to
> my awareness).
Okay, I know that.
> - I haven't tried it out yet.
I tried to use profiling library on Windows.
$ ghc --make STCEvent.hs -prof
$ STCEvent +RTS -p
Okay, profiling library works.
Attached archive is a report that was made by profiling library and RTS.
Best Regards,
--
shelarcy <shelarcy hotmail.co.jp>
http://page.freett.com/shelarcy/
profiling.dpatch
Description: Binary data
STCEvent.tgz
Description: GNU Zip compressed data
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ wxhaskell-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
