Bootstrapping for Leopard

Manuel M T Chakravarty chak at cse.unsw.edu.au
Sun Feb 3 20:21:45 EST 2008


> Things are complicated because
>
>  - on Cygwin, pwd gives you /cygdrive/c/...
>  - on MSYS, pwd gives you /c/...
>
> (remember we still support MSYS), and we want c:/...
>
> So we used to use cygpath on cygwin, and some horrible sed command  
> on MSYS, IIRC.  It was a mess, and frequently went wrong.
>
> Sure there are other ways to do it, but I think at the time it  
> seemed simpler to write a Haskell program.  In hindsight, probably a  
> C program (compiled using mingw gcc) would be better for  
> bootstrapping.  A shell script would be problematic for the reasons  
> above, I'm guessing.

I understand that this is a difficult issues, but as it is booting  
from HC files and hence porting is simply broken.  So, I wonder what  
the way forward is...

Manuel



More information about the Glasgow-haskell-users mailing list