caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: dmitry grebeniuk <gds@vestra.bendery.md>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] beginner's questions
Date: Wed, 2 Oct 2002 11:19:21 +0300 (EEST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0210021105010.12251-100000@vestra.bendery.md> (raw)
In-Reply-To: <20021001112011.C3571@pauillac.inria.fr>

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


  reply	other threads:[~2002-10-02  8:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-21 11:35 Hallvard Ystad
2002-09-21 12:17 ` Dmitry Bely
2002-09-29 11:37   ` Hallvard Ystad
2002-09-30 13:16     ` dmitry grebeniuk
2002-10-01  9:20       ` Xavier Leroy
2002-10-02  8:19         ` dmitry grebeniuk [this message]
2002-10-07 18:26 Hallvard Ystad
     [not found] <5.1.1.6.2.20021007202649.025dba60@helpinhand.com>
     [not found] ` <Pine.LNX.4.21.0210091011210.13779-100000@vestra.bendery.md >
2002-10-09  9:13   ` Hallvard Ystad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0210021105010.12251-100000@vestra.bendery.md \
    --to=gds@vestra.bendery.md \
    --cc=caml-list@inria.fr \
    --cc=xavier.leroy@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).