Profiling suggestion

Ketil Z. Malde
10 May 2002 11:45:41 +0200

Re the current and recurring conflicts between profiling and
non-profiling code; how hard would it be to name GHC's output files
differently when compiling with -prof?

I.e. without, you get the normal foo.hs -> foo.o result, but with
-prof you could get e.g. foo.po or foo.p.o instead?  (And of course, 
linking these instead when making the executable)

I can probably hack this in a makefile, but it'd be nice to be able to
just ghc --make as well.

If I haven't seen further, it is by standing in the footprints of giants