Browse thread
[Caml-list] Initial port of ocaml for mingw (long)
-
art
-
Dmitry Bely
- Masakazu Fukuzawa
- Anton Moscal
-
Dmitry Bely
[
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: | Masakazu Fukuzawa <fukuzawa@c...> |
| Subject: | Re: [Caml-list] Ocaml 3.03 alpha MinGW port |
After applying the patch, in ocaml-3.03-alpha\asmcomp\i386\emit.mlp,
add '| "mingw32"' to
let emit_align =
match Config.system with
"linux_elf" | "bsd_elf" | "solaris" | "beos" | "cygwin" ->
to read
let emit_align =
match Config.system with
"linux_elf" | "bsd_elf" | "solaris" | "beos" | "cygwin" | "mingw32"
->
and in ocaml-3.03-alpha\asmrun\i386.S, add '|| defined(SYS_mingw32)' to
|| defined(SYS_solaris) || defined(SYS_beos) || defined(SYS_cygwin)
to read
|| defined(SYS_solaris) || defined(SYS_beos) || defined(SYS_cygwin) |
| defined(SYS_mingw32)
Now you can successfully make opt.opt and use ocamlopt.opt.
Thanks, Dmitry!!
Fukuzawa
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr