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.