Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] beginner's questions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-02 (08:19)
From: dmitry grebeniuk <gds@v...>
Subject: Re: [Caml-list] beginner's questions
On Tue, 1 Oct 2002, Xavier Leroy wrote:

> Probably the file bytecomp/ was generated incorrectly,
> maybe because you didn't use the correct version of "sed".  The
> Win32 Makefiles are known to work with GNU sed as found in Cygwin, but
> one user reported problems with another version of sed coming from
> another Windows port of Unix tools.

  Thank you for help.  Yes, you are right - problem with "sed" and
end-of-lines.  I get sources from cvs using cvsnt, which writes CRLF
instead of LF.  And there's an easy way to fix this problem - you can
 sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$|  \1;|p' byterun/fail.h | \
 sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/|  \1;|p' byterun/fail.h | \
in Makefile.nt (thus not matching end-of-line) - the result will be the
same, but it will work with CRLFs (matching ".?$" or "\r?$" or "\x0D?$"
instead of "$" won't work).


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: