[GHC] #3882: Adding libraries to an inplace GHC should JustWork(TM)

GHC trac at galois.com
Tue Feb 16 09:16:32 EST 2010


#3882: Adding libraries to an inplace GHC should JustWork(TM)
---------------------------------+------------------------------------------
    Reporter:  benl              |        Owner:              
        Type:  feature request   |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Build System      |      Version:  6.13        
    Keywords:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Testcase:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 Yes, I agree it would be nice if this worked.

 The main sticking point is that we have to configure things in the right
 order, which means knowing the dependencies.  The build system currently
 does this by hardcoding the order into `ghc.mk`, which is yucky.  Probably
 we should have a global dependency-resolution phase done by `ghc-cabal` by
 re-using as much as we can from `cabal-install`.

 In the meantime we could say that any new libraries just get added to the
 end of the list, but that would go wrong if any of them depended on each
 other.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3882#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list