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 WAA26249; Fri, 21 Feb 2003 22:38:31 +0100 (MET) 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 WAA26217 for ; Fri, 21 Feb 2003 22:38:30 +0100 (MET) Received: from mallaury.noc.nerim.net (smtp-102.noc.nerim.net [62.4.17.102]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h1LLcTH08049 for ; Fri, 21 Feb 2003 22:38:30 +0100 (MET) Received: from hector.lesours (lesours.starynkevitch.net [80.65.224.217]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 2637B62D01 for ; Fri, 21 Feb 2003 22:38:27 +0100 (CET) Received: from basile by hector.lesours with local (Exim 3.36 #1 (Debian)) id 18mKsH-0004xO-00 for ; Fri, 21 Feb 2003 22:38:29 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <15958.40021.420789.842748@hector.lesours> Date: Fri, 21 Feb 2003 22:38:29 +0100 To: caml-list@inria.fr Subject: [Caml-list] Native cross compiling and conditional compilation. In-Reply-To: <200302211531.44558.tom1@launchbird.com> References: <200302211531.44558.tom1@launchbird.com> X-Mailer: VM 7.08 under Emacs 21.2.2 From: Basile STARYNKEVITCH Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >>>>> "Tom" == Tom Hawkins writes: [previous question skipped...] Tom> Also, I'm trying to port to Cygwin, but I have a very small Tom> piece of code that needs to change for the port to work. Tom> What is the best way to handle this in Ocaml? I never liked Tom> #defines. Camlp4 does provide a conditional compilation facility, and more generally some preprocessing ability. I find it very useful (and hope that Camlp4 will continue to evolve, perhaps even by being more tightly integrated into the compiler. Actually, I would like it to become the standard OCaml parser). -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet alias: basiletunesorg 8, rue de la Faïencerie, 92340 Bourg La Reine, France ------------------- 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