Building Both "Regular" and "Profiling" Libraries

Simon Peyton-Jones simonpj@microsoft.com
Wed, 9 Oct 2002 12:21:24 +0100


Yes there is.  In your build.mk, set GhcLibWays =3D p

This is discussed a lot in the Building Guide, which I commend to you if
you are building GHC.

Simon


| -----Original Message-----
| From: Ashley Yakeley [mailto:ashley@semantic.org]
| Sent: 09 October 2002 11:56
| To: GHC List
| Subject: Building Both "Regular" and "Profiling" Libraries
|=20
| Is there a good strategy for building both regular and profiling
variants
| of libraries? One of the problems is that the .hi files are not
| compatible, so I need to both kinds of those too. Should I be giving
them
| separate names or something? How do people deal with this?
|=20
| Right now I do a 'make clean' and then rebuild with profiling options,
| but that's kind of annoying...
|=20
| --
| Ashley Yakeley, Seattle WA
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users@haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users