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 UAA25338; Sat, 9 Aug 2003 20:07:50 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA26339 for ; Sat, 9 Aug 2003 20:07:46 +0200 (MET DST) Received: from relay.rinet.ru (relay.rinet.ru [195.54.192.35]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h79I7jT10551 for ; Sat, 9 Aug 2003 20:07:46 +0200 (MET DST) Received: from relay.rinet.ru (localhost [127.0.0.1]) by relay.rinet.ru (8.12.8p1/8.12.8) with ESMTP id h79I7jd4088724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 9 Aug 2003 22:07:45 +0400 (MSD) (envelope-from dbely@mail.ru) Received: (from uucp@localhost) by relay.rinet.ru (8.12.8p1/8.12.8/Submit) with UUCP id h79I7jiv088723 for caml-list@inria.fr; Sat, 9 Aug 2003 22:07:45 +0400 (MSD) (envelope-from dbely@mail.ru) Received: from dialin3.stormoff (ROVER1) [192.168.0.131] by stormoff with esmtp (Exim 3.12 #1 (Debian)) id 19lY7n-0000rf-00; Sat, 09 Aug 2003 22:07:32 +0400 X-Comment-To: Matt Gushee To: caml-list@inria.fr Subject: Re: [Caml-list] GODI news References: <1060377600.1229.53.camel@ice.gerd-stolpmann.de> <20030808213705.GB21525@swordfish> <1060419878.988.36.camel@ice.gerd-stolpmann.de> <20030809170549.GH21525@swordfish> From: Dmitry Bely Date: Sat, 09 Aug 2003 22:06:40 +0400 In-Reply-To: <20030809170549.GH21525@swordfish> (Matt Gushee's message of "Sat, 9 Aug 2003 11:05:50 -0600") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Military Intelligence (RC5 Windows), i586-pc-win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 gushee:01 cygwin:01 mingw:01 posix:01 crlf:01 implying:01 msys:01 gcc:01 implemented:01 fork:01 syscall:01 preferable:01 ocaml:01 afaik:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Matt Gushee writes: >> > Why Cygwin, rather than MinGW? >> > >> Simple answer: It is unwise to do the second step before the first. >> Using Cygwin means that you have a full POSIX environment (Unix tools, >> libraries), but there are already typical Windows problems, e.g. >> filename conventions, CRLF, etc. Solve these first! > > Okay. I trust that you know what you are talking about, but I still > don't really understand. By saying "there are already ..." are you > implying that the "typical Windows problems" become worse when using > MinGW? No. But in case of MinGW/MSVC you have a bunch of other problems: no configure scripts, different Ocaml compilation process (manual editing of config files, makefile.nt instead of makefile) etc. As GODI has come from UNIX world, cygwin (or maybe MSYS) is the only chance to use it under Windows. > And further, are these problems that can actually be solved, > or simply worked around. > >> For the build environment, it is unlikely that we ever get rid of >> Cygwin. > > I thought that MinGW came with gcc, gnu make, and so on. Am I mistaken, > or are they poorly implemented, or what? AFAIK sh needed to run configure scripts simply does not exist in the "native" form (as well as many other gnu utilities). Its design is based on fork() syscall that cannot be easily emulated under Win32. Of course, a packaging tool entirely written in Ocaml would be preferable, but it will probably require too much efforts. So UNIX-style tool is better than nothing. - Dmitry Bely ------------------- 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