simonpj     2002/11/18 09:01:03 PST

  Modified files:
    ghc/compiler         Makefile 
    glafp-utils/mkdependC mkdependC.prl 
  Log:
        -----------------------------
        Perl and control-M's on Win32
        -----------------------------
  
  If the Cygwin 'perl' processes a file produced by a Mingw program
  (such as ghc -M), so that the latter has DOS-style line termination,
  the Cygwin 'perl' gets confused and adds extra control-M's.
  
  This affects
        a) mkdependC, which processes the .depend file produced by
                ghc -M
        b) the perl post-procssing step in ghc/compiler/Makefile,
                which makes .depend-1 etc from .depend-BASE
  
  The solution is to sprinkle few
        binmode( HANDLE );
  statements around in the perl scripts.
  
  I think they don't affect the Unix version.
  
  Revision  Changes    Path
  1.230     +16 -1     fptools/ghc/compiler/Makefile
  1.21      +3 -0      fptools/glafp-utils/mkdependC/mkdependC.prl
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc


Reply via email to