Re: ranlib

2008-02-08 Thread Peter Gavin
Christian Maeder wrote: Peter Gavin wrote: Sorry, I should've given more information. I'm trying to build under Mac OSX 10.5, which requires that ranlib is run on vanilla libraries I think, running ranlib (after moving .ar files) is only needed on PPC macs (not on i386). Am I righ

Re: ranlib

2008-02-08 Thread Peter Gavin
Duncan Coutts wrote: On Thu, 2008-02-07 at 12:10 -0500, Peter Gavin wrote: The makefiles generated by cabal don't run ranlib on libraries. This is a big problem since GHC uses the makefile generator :) I've attached a patch that fixes things. I tested it by replacing the Cabal tre

ranlib

2008-02-07 Thread Peter Gavin
The makefiles generated by cabal don't run ranlib on libraries. This is a big problem since GHC uses the makefile generator :) I've attached a patch that fixes things. I tested it by replacing the Cabal tree in a ghc snapshot; everything seems to build ok. Pete cabal-devel-ranlib.dpatch.bz2

Re: proptotype of make style dep stuff

2007-10-30 Thread Peter Gavin
On 10/30/07, Duncan Coutts <[EMAIL PROTECTED]> wrote: > On Fri, 2007-10-26 at 10:48 +, Duncan Coutts wrote: > > > So what's next... > > > > We want to write some specifications > > Spencer, Lennart, Thomas and I had a joint hacking session in which we > made some progress on this issue today. S

cabal dependencies patch

2007-09-22 Thread Peter Gavin
Duncan requested that I post a more up-to-date version of the dependencies based build for the upcoming Hackathon. It still needs some work, but the bright side is that it's a drop-in replacement for the current build system. I guess what still needs to be done is: * Hugs, NHC, etc. I don't rea

Re: patch applied (cabal-branches/cabal-1.2): spell nhc98-options correctly

2007-09-06 Thread Peter Gavin
I'd assume these patches get applied in batches (e.g., many in a single command). Is there any way these emails can reduced to one per batch, instead of one per patch? Pete On 9/6/07, Duncan Coutts <[EMAIL PROTECTED]> wrote: > Thu Sep 6 08:04:11 PDT 2007 [EMAIL PROTECTED] > * spell nhc98-opt

cabal output

2007-08-29 Thread Peter Gavin
When I run setup configure on my machine I get: Configuring Cabal-1.1.7... unrecognized option `--numeric-version' Try the option `--help' on its own for more information. setup: executing external program failed (exit 1) : /usr/bin/c2hs --numeric-version This is a bit confusing, because at first

dependency analysis

2007-08-26 Thread Peter Gavin
Hello everyone, Here's a very-very-very alpha, not-yet-for-general-use patch that enables dependencies in Cabal. Basically, all that works right now is building GHC libraries. I haven't implemented compiling executables yet. But each module is compiled one at a time, and each is scanned for the

Dependency Analysis

2007-08-21 Thread Peter Gavin
Hello everyone, I've been making decent progress on getting dependency analysis working. I've just about gotten libHScabal.a to build using it :) But it's starting to look like it won't be possible to simply drop in my code to the current system. So rather than try to do that, I've decided to ma

dependency analysis

2007-08-12 Thread Peter Gavin
Hello everyone, A few of us have been talking about putting dependency analysis into cabal. This, I feel, is something that needs to be Done Right :) So I've put up a page in the wiki: . I want to write some code & get this workin

Re: hacking cabal is too hard...

2007-08-06 Thread Peter Gavin
On 8/6/07, Duncan Coutts <[EMAIL PROTECTED]> wrote: > Cabal/Hackage is fantastically successful, despite the amount we grumble > about it's shortcomings. > > > But this is fertile ground for hackers who enjoy cleaning things up and > > refactoring... > > Certainly. How to recruit such people... > >