English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Native cross compiling and conditional compilation.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-21 (21:38)
From: Basile STARYNKEVITCH <basile@s...>
Subject: [Caml-list] Native cross compiling and conditional compilation.
>>>>> "Tom" == Tom Hawkins <tom1@launchbird.com> 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: basile<at>starynkevitch<dot>net 
alias: basile<at>tunes<dot>org 
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