From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA29762 for caml-red; Sat, 10 Feb 2001 22:47:50 +0100 (MET) 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 SAA14889 for ; Sat, 10 Feb 2001 18:50:28 +0100 (MET) Received: from camelia.wanadoo.fr (smtp-rt-10.wanadoo.fr [193.252.19.59]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f1AHoR515543 for ; Sat, 10 Feb 2001 18:50:27 +0100 (MET) Received: from citronier.wanadoo.fr (193.252.19.222) by camelia.wanadoo.fr; 10 Feb 2001 18:50:27 +0100 Received: from wanadoo.fr (164.138.51.179) by citronier.wanadoo.fr; 10 Feb 2001 18:50:06 +0100 Message-ID: <3A7D9742.16A775CB@wanadoo.fr> Date: Sun, 04 Feb 2001 17:54:10 +0000 From: Jean Martos X-Mailer: Mozilla 4.5 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: lionel.fourquaux@wanadoo.fr CC: caml-list@inria.fr Subject: Re: OCaml for Windows: a suggestion References: <000201c09213$3acd4960$d7688aa4@wfr01946> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: weis@pauillac.inria.fr Lionel Fourquaux a écrit : > [French version at the end] > > Hello, > > I'd like to suggest a change in the way OCaml is built > under Windows. Wouldn't it be better if the files from byterun/ > that are shared by ocamlrun, the native code compiler and the > otherlibs (i.e. the GC, the primitives, and support functions) > were put in a DLL ? In poor English : This is a good idea. But I think that the most important job to do for OCaml on Windows is to port it under gcc. I already compile it with mingw32. I do it because I need to interface OCaml and gnat, and for the moment it runs fine. Due to the cleany OCaml code, the modifications are limited, and the job to make the patches in order to make a cleany distribution is not so important. I think that such a distribution is awaited by a numerous people of the Ocaml community. En français : C'est une bonne idée. Mais il me semble qu'il serait plus intéressant de disposer d'une distribution compilée avec gcc. J'ai compilé la version 3.0 avec mingw32, car j'ai besoin d'interfacer OCaml avec gnat. Et cela marche trés bien. Le code Ocaml est trés bien écrit et les modifications que j'ai effectuées, aussi bien dans les sources que dans les makefiles sont trés limitées (Merci de ne pas avoir utilisé AUTOCONF). Je crois que nous sommes nombreux parmi la communauté OCaml à attendre une distribution compilant avec gcc sous Windows, cela permetrait de s'affranchir du compilateur vcc et, surtout de l'assembleur masm, qui est difficile à trouver et à installer. Le travail à effectuer pour fournir une distribution gcc officielle sous windows n'est pas si important. Peut être que nos amis de l'INRIA ... nous ferons ce cadeau pour la naissance du consortium? Jean Martos.