Native win32 OCaml: recap

View: New views
2 Messages — Rating Filter:   Alert me  

Native win32 OCaml: recap

by Kuba Ober :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here's the recap from the discussion so far. I'm only considering
win32 platform, nothing else. Please pitch in if I didn't get it
right this time:

1. OCaml 3.11 will have a non-replaying bytecode debugger that runs
on native ports (built with msvc or mingw).
2. OCaml requires an installed C compiler, linker and assmebler
-- same ones as used during build - to link with native code.
3. Bytecode OCaml requires no external tools to "compile" and run
OCaml code that does not call upon newly defined native functions.
4. ocamlopt does require assembler and linker to produce the executable.
5. OCaml requires at least msys to build itself using either msvc or mingw
compilers. msys is provides bash, make and friends. OCaml does not
build using nmake.
6. ocamlopt can use either ml or masm for assembler; ml comes with
recent Visual Studios. When ml is not present, it would be good
to have it use nasm instead.

Cheers, Kuba

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Re: Native win32 OCaml: recap

by Kuba Ober :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wednesday 15 October 2008, Kuba Ober wrote:

> 6. ocamlopt can use either ml or masm for assembler; ml comes with
> recent Visual Studios. When ml is not present, it would be good
> to have it use nasm instead.

Replying to myself: ml == masm, and ml is present in all VS 2008 SP1,
including Express, so no problems there and no need for nasm.

Cheers, Kuba

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs
LightInTheBox - Buy quality products at wholesale price!