|
RE: problems building ghc 6.4.1_pre using 6.4 withmultiplecabalversions ins: msg#00060lang.haskell.glasgow.bugs
On 13 September 2005 12:22, Andres Loeh wrote: >> Just glancing over the patch, I can't immediately see how it works. >> GHC >> 6.4 gives priority to package modules over modules on the local >> search path, so Distribution.* will be taken from the installed >> Cabal package. However, when linking GHC you are ommitting -package >> Cabal, so I'd expect a link error. >> >> Hmm, I guess I should try this and figure out what's happening. > > The idea is that no installed Cabal version will be used. I think the > ghc distribution should just always build its own Cabal during stage1. I agree - I just couldn't see how your patch achieved that. > That's what the patch tries to achieve, and afaics, it works. However, > Duncan didn't give you the full story with the patch. We also do the > following: > > echo "GHC+=-ignore-package Cabal" >> mk/build.mk > echo "HC+=-ignore-package Cabal" >> mk/build.mk Aha, that's the missing bit. I'll try to construct a robust version of this. Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: problems building ghc 6.4.1_pre using 6.4 with multiplecabalversions installed, Andres Loeh |
|---|---|
| Next by Date: | RE: GADT: weird error message, Simon Peyton-Jones |
| Previous by Thread: | [ ghc-Bugs-807249 ] Instance match failure on openTypeKind, SourceForge.net |
| Next by Thread: | [ ghc-Bugs-1290999 ] panic:Unify.unifyTauTyLists, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |