darcs patch: Add initial support for
duncan.coutts at worc.ox.ac.uk
Wed Aug 2 14:09:00 EDT 2006
On Tue, 2006-08-01 at 12:12 +0100, Simon Marlow wrote:
> Duncan Coutts wrote:
> > Specifically: if the user asks for profiling but not vanilla versions of
> > libs and they're using TH then we should build vanilla libs first and
> > then profiling libs. However at install time we would not install the
> > vanilla libs as the user did not ask for them.
> Yes, that's right.
> > Simon: what about if we're building a program rather than a lib? Should
> > we vanilla-compile all the modules but not link then into a binary and
> > then compile again with profiling and then link those into a binary?
> I would think so, yes. Just build with --make -c for the vanilla way.
Ok I've got a patch attached that does this.
> > And presumably we would only expect this to work with GHC 6.6.
> Yes. I'd appreciate it if someone could test this with a TH program and 6.6, to
> make sure that GHC can find the vanilla object files correctly.
Should I expect this to work now or is it still unfinished work for
I've added a trac ticket so we don't forget the testing:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19123 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cabal-devel/attachments/20060802/8a77d48b/TH-prof-0001.bin
More information about the cabal-devel