caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Road to native windows OCaml...
@ 2008-10-13 23:35 Kuba Ober
  2008-10-13 23:47 ` [Caml-list] " Seo Sanghyeon
                   ` (5 more replies)
  0 siblings, 6 replies; 44+ messages in thread
From: Kuba Ober @ 2008-10-13 23:35 UTC (permalink / raw)
  To: caml-list

I've looked briefly at what it'd take to have OCaml
fully working natively (with mingw/VS), without any Cygwin
needed for compilation.

What I've surmised is this:

1. I need some "hacked up" make implementation, good enough just
   to let it build; this would be a-la web2c in concept. This "make"
   would implement bits and pieces of make, bash and sed -- just
   the bare minimum needed to get it going. The goal is for people to
   have bare mingw or VC and have OCaml build for them.
   The functionality needed is quite minimal, so requiring people to
   actually pull full sed, bash and make would not be necessary.
   I would prototype it in Qt (it's quicker that way),
   and then port it to "bare" C++ as time permits.

2. I need to get OCaml to use nasm instead of masm. I would go as far
   as completely pruning any masm references from OCaml -- there is just
   no need for masm when a good, free alternative exists. nasm is a single
   standalone executable -- you can't get much better than that. Heck, it
   works on unixes too, so it could be used on all platforms. gas is horrible
   too -- it's only raison-d'etre is to process output from gcc.
   Masm exists in "alternate reality" and the legality of its use is dubious.
   So-called masm9/masm10 (non-Microsoft products) have licenses which are a
   slap in the face and don't deserve a second look.

3. I need to look at the bytecode debugger and figure out why doesn't it work
   on non-Cygwin builds.

4. I need to get OCaml to generate C binding code using assembly, without a
   need for C compiler. It's easy enough and removes one big dependency from
   OCaml. I don't know if OCaml side of things is expressive enough (whether
   you can pass parameter/struct descriptions without use of C per se),
   but it should generally work just fine.

Can anyone add to/elaborate on this list?

Cheers, Kuba


^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2008-10-26 22:13 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-13 23:35 Road to native windows OCaml Kuba Ober
2008-10-13 23:47 ` [Caml-list] " Seo Sanghyeon
2008-10-14 21:32   ` Kuba Ober
2008-10-15  9:42     ` David Allsopp
2008-10-15 12:38       ` Kuba Ober
2008-10-15 13:04         ` Seo Sanghyeon
2008-10-15 14:32           ` Kuba Ober
2008-10-14  5:43 ` Elliott Oti
2008-10-14 21:35   ` Kuba Ober
2008-10-14  7:20 ` Sylvain Le Gall
2008-10-14 21:37   ` [Caml-list] " Kuba Ober
2008-10-15  5:52     ` Dmitry Bely
2008-10-15 13:50       ` Kuba Ober
2008-10-14  7:59 ` [Caml-list] " David Allsopp
2008-10-14  8:11   ` Daniel Bünzli
2008-10-14  9:19     ` Sylvain Le Gall
2008-10-14  9:41     ` Re : [Caml-list] " Adrien
2008-10-14 10:13       ` Re : " Sylvain Le Gall
2008-10-14 11:07         ` Re : [Caml-list] " Adrien
2008-10-14 11:23           ` Re : " Sylvain Le Gall
2008-10-14 19:39             ` Re : [Caml-list] " Adrien
2008-10-14 21:41           ` Re : [Caml-list] " Kuba Ober
2008-10-15  9:42             ` David Allsopp
2008-10-15 12:33               ` Kuba Ober
2008-10-14 21:39         ` Kuba Ober
2008-10-14 15:56       ` [Caml-list] " David Allsopp
2008-10-14 17:39       ` Re : " Dmitry Bely
2008-10-14 19:31         ` Re : " Adrien
2008-10-14  9:57     ` Mathias Kende
2008-10-14 21:38   ` Kuba Ober
2008-10-15  0:01     ` Sylvain Le Gall
2008-10-15 12:35       ` [Caml-list] " Kuba Ober
2008-10-15 12:54         ` Dmitry Bely
2008-10-15 13:18           ` Sylvain Le Gall
2008-10-15 14:35           ` [Caml-list] " Kuba Ober
2008-10-15 15:29             ` Dmitry Bely
2008-10-15 16:26               ` Kuba Ober
2008-10-15 16:39                 ` Xavier Leroy
2008-10-15  5:57     ` [Caml-list] " Dmitry Bely
2008-10-15  9:42     ` David Allsopp
2008-10-26 22:07   ` Markus E L
2008-10-14  9:25 ` Sylvain Le Gall
2008-10-14 18:19 ` Cross-compilation (was: Re: [Caml-list] Road to native windows OCaml...) Richard Jones
2008-10-15  0:04   ` Erik de Castro Lopo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).