Browse thread
[Caml-list] beginner's questions
-
Hallvard Ystad
-
Dmitry Bely
-
Hallvard Ystad
-
dmitry grebeniuk
-
Xavier Leroy
- dmitry grebeniuk
-
Xavier Leroy
-
dmitry grebeniuk
-
Hallvard Ystad
-
Dmitry Bely
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | dmitry grebeniuk <gds@v...> |
| Subject: | Re: [Caml-list] beginner's questions |
On Tue, 1 Oct 2002, Xavier Leroy wrote:
> Probably the file bytecomp/runtimedef.ml 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
change
sed -n -e 's|.*/\* \("[A-Za-z_]*"\) \*/$$| \1;|p' byterun/fail.h | \
to
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).
bye
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners