On Tue, Dec 22, 2009 at 09:08:54PM +0100, Matthias Kilian wrote:
> On Tue, Dec 22, 2009 at 06:26:16AM +0000, Duncan Coutts wrote:
> > > GNUisms, it's not Linux' fault, although I neither like Linux do I
> > > know any Linux distribution not using the GNU tools.
> > 
> > I don't think this was a GNUism. I think this change was in response to
> > a bug I reported where the previous sed command failed to work on
> > Solaris.
> 
> Solaris sed(1) supports the `i' flag for the `s' command?
> 
> Strange world...
> 
> Anyway, I'm still trying to think of a fix that actually works as
> supposed -- without a clever idea (except for really ugly hacks).
> 
> As the problem (according to Ians log message) is a flapping
> upper/lower-case drive letter on Windows, it would probably better
> to find why the drive letter from $(TOP) differs from the driver
> letter in the depfiles. Is this a systematic problem, like $(TOP)
> always uses upper-case, and the depfiles always use lower-case?
> That would allow for a simpler (and portable) fix.

I've kludged around it for now, by only using the s///i modifier on
Windows.

There is a half-plan to make all installations relocatable, in part by
making all paths in the package database relative to the package
database's location. If this is done then we should be able to avoid
generating absolute paths in the first place, so we can get rid of this
bit of sed completely.


Thanks
Ian

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to