* [Caml-list] Native cross compiling and conditional compilation.
@ 2003-02-21 21:31 Tom Hawkins
2003-02-21 21:38 ` Basile STARYNKEVITCH
0 siblings, 1 reply; 2+ messages in thread
From: Tom Hawkins @ 2003-02-21 21:31 UTC (permalink / raw)
To: caml-list
Hi,
My application makes use of the Unix module and currently runs on Linux x86.
Is there an easy way to native cross compile to other processors and
architectures like Cygwin, FreeBSD, and Mac X?
Also, I'm trying to port to Cygwin, but I have a very small piece of code that
needs to change for the port to work. What is the best way to handle this in
Ocaml? I never liked #defines.
Thanks,
Tom
-------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Caml-list] Native cross compiling and conditional compilation.
2003-02-21 21:31 [Caml-list] Native cross compiling and conditional compilation Tom Hawkins
@ 2003-02-21 21:38 ` Basile STARYNKEVITCH
0 siblings, 0 replies; 2+ messages in thread
From: Basile STARYNKEVITCH @ 2003-02-21 21:38 UTC (permalink / raw)
To: caml-list
>>>>> "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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-21 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21 21:31 [Caml-list] Native cross compiling and conditional compilation Tom Hawkins
2003-02-21 21:38 ` Basile STARYNKEVITCH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox