From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA31907; Wed, 2 Oct 2002 10:19:33 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA31761 for ; Wed, 2 Oct 2002 10:19:32 +0200 (MET DST) Received: from vestra.bendery.md (vestra.bendery.md [193.201.204.58]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g928JP512363; Wed, 2 Oct 2002 10:19:27 +0200 (MET DST) Received: from vestra.bendery.md (vestra.bendery.md [193.201.204.58]) by vestra.bendery.md (8.9.3/8.9.3) with ESMTP id LAA12734; Wed, 2 Oct 2002 11:19:21 +0300 Date: Wed, 2 Oct 2002 11:19:21 +0300 (EEST) From: dmitry grebeniuk To: Xavier Leroy cc: caml-list@inria.fr Subject: Re: [Caml-list] beginner's questions In-Reply-To: <20021001112011.C3571@pauillac.inria.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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