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 tree in a ghc snapshot; everything seems to build ok.

Could you be more specific? As I understand it, building GHC does indeed
work on most platforms currently. So what are the symptoms exactly and
on what platform?

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 (unlike e.g. Linux). When cabal builds a library on its own it ends up running ranlib, but the makefile generated by ./setup makefile does *not* run ranlib. The GHC build uses the cabal-generated makefile, so the build fails. (The GHC version I'm using is the darcs tree at http://darcs.haskell.org/ghc-6.8/.)

Pete

_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel

Reply via email to