1 I couldn't get *.cmxs files to build in the cross-compiler. This
4 diff --exclude _build -urN ocaml-3.11.0+beta1.orig/otherlibs/Makefile.shared ocaml-3.11.0+beta1.mingw/otherlibs/Makefile.shared
5 --- ocaml-3.11.0+beta1.orig/otherlibs/Makefile.shared 2008-07-15 16:31:32.000000000 +0100
6 +++ ocaml-3.11.0+beta1.mingw/otherlibs/Makefile.shared 2008-11-15 15:31:48.000000000 +0000
9 all: lib$(CLIBNAME).$(A) $(LIBNAME).cma $(CMIFILES)
11 -allopt: lib$(CLIBNAME).$(A) $(LIBNAME).cmxa $(LIBNAME).$(CMXS) $(CMIFILES)
12 +allopt: lib$(CLIBNAME).$(A) $(LIBNAME).cmxa $(CMIFILES)
15 $(LIBNAME).cma: $(CAMLOBJS)
16 $(MKLIB) -o $(LIBNAME) -oc $(CLIBNAME) -ocamlc '$(CAMLC)' -linkall $(CAMLOBJS) $(LINKOPTS)
18 $(LIBNAME).cmxa: $(CAMLOBJS_NAT)
19 $(MKLIB) -o $(LIBNAME) -oc $(CLIBNAME) -ocamlopt '$(CAMLOPT)' -linkall $(CAMLOBJS_NAT) $(LINKOPTS)
21 -$(LIBNAME).cmxs: $(LIBNAME).cmxa lib$(CLIBNAME).$(A)
22 - $(CAMLOPT) -shared -o $(LIBNAME).cmxs -I . $(LIBNAME).cmxa
23 +#$(LIBNAME).cmxs: $(LIBNAME).cmxa lib$(CLIBNAME).$(A)
24 +# $(CAMLOPT) -shared -o $(LIBNAME).cmxs -I . $(LIBNAME).cmxa
26 lib$(CLIBNAME).$(A): $(COBJS)
27 $(MKLIB) -oc $(CLIBNAME) $(COBJS) $(LDOPTS)