Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-08 Thread Duncan Coutts
On Mon, 2008-09-08 at 12:23 +0100, Claus Reinke wrote: > > 2008/9/8 Simon Peyton-Jones <[EMAIL PROTECTED]>: > >> The obvious solution to both is to somehow offer 'make superclean', which > >> removes every single > >> file and directory that is not in the source repo. That is > >> right-by-con

Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-08 Thread Claus Reinke
2008/9/8 Simon Peyton-Jones <[EMAIL PROTECTED]>: The obvious solution to both is to somehow offer 'make superclean', which removes every single file and directory that is not in the source repo. That is right-by-construction, and stays right regardless of changes. I don't know how to impleme

Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-08 Thread Max Bolingbroke
2008/9/8 Simon Peyton-Jones <[EMAIL PROTECTED]>: > The obvious solution to both is to somehow offer 'make superclean', which > removes every single file and directory that is not in the source repo. > That is right-by-construction, and stays right regardless of changes. I > don't know how to

RE: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-08 Thread Simon Peyton-Jones
| What is the correct make target to get rid of all such generated files? | | Starting from a fresh tree everytime or searching for files manually | don't sound realistic - there must be some support in there for | getting rid of all generated left-overs (distclean presumably leaves | them there fo

Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-07 Thread Ian Lynagh
On Sun, Sep 07, 2008 at 03:58:18PM -0700, Bryan O'Sullivan wrote: > > I hesitate to drag the version control discussion into places where it > notionally doesn't belong, but cheap local branching makes creating a > fresh tree quick in absolute terms You mean branching in . rather than creating a

Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-07 Thread Bryan O'Sullivan
On Sun, Sep 7, 2008 at 3:08 PM, Claus Reinke <[EMAIL PROTECTED]> wrote: > Starting from a fresh tree everytime or searching for files manually don't > sound realistic [...] If you're trying to do an ab initio build with no prior build products lying around, then starting from a fresh tree should

Re: FW: darcs patch: Add extern flag to avoid multiple symbolerrors on Mac...

2008-09-07 Thread Claus Reinke
> GHC/Base.lhs:103:0: > attempting to use module `GHC.Prim' (./GHC/Prim.hs) which is not loaded > haddock: Failed to load all needed modules Sounds like you have some files in your tree left-over from a previous build system, in this case libraries/base/GHC/Prim.hs. The patch validated for