Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: -- (:)
From: Basile STARYNKEVITCH <basile@s...>
Subject: [Caml-list] Native cross compiling and conditional compilation.
>>>>> "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).


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 Archives:
Bug reports: FAQ:
Beginner's list: