[HOpenGL] Profiling & HOpenGL

Sven Panne Sven.Panne@informatik.uni-muenchen.de
Tue, 13 Nov 2001 20:03:35 +0100


Andre W B Furtado wrote:
> [...] is there a better way to build a profiling-enabled HOpenGL version
> than "hacking" config.mk to add the -prof option to the HC_OPTS?

You can pass configure a full path to ghc, including options:

   ./configure --with-hc="/usr/bin/ghc -prof -auto-all"

Setting the HC environment variable before is another way IIRC.

Cheers,
   S.