Building an OCaml cross-compiler - configure part
问题 I need to build an OCaml cross-compiler. Sadly, it seems this is not supported out of the box and needs a little work, as described for an older version of the OCaml compiler. My first question is: What is a nice way to generate the files config/m.h , config/s.h and config/Makefile ? 回答1: I've been building OCaml cross compilers for a few years now. (See my profile for a link to my website.) What I do is build the compiler 1 1/2 times. The first time is for the host (with some settings for