Browse thread
[Caml-list] Is Caml a fraud ( especially on Windows )?
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Xavier Leroy <xavier.leroy@i...> |
| Subject: | Re: [Caml-list] ocamlopt / ocaml -custom and C compiler |
> BTW, why Ocaml developers decided that ocamlopt should generate > camlprim?.c in C, but not directly in Assembler? Unless I'm mistaken, ocamlopt doesn't generate a camlprim.c file; ocamlc -custom does. The reason for going through C in this case is that ocamlc has no knowledge of the assembly language for the processor: ocamlc is designed to work for any system that provides an ANSI C compiler. > This is especially inconvenient for > Windows users where C compiler is not the part of OS distribution and > should be bought separately... We have addressed this issue in at least two different ways. One is the dynamic loading of C/Caml stub code, as implemented since release 3.04. Now is the time for external C libraries to use this mechanism, especially if they are to run under Windows. The second answer to this problem is the Mingw port. Don't complain about lack of options :-) - Xavier Leroy ------------------- 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