1 --- flexdll/reloc.ml 2008-11-06 12:54:58.000000000 +0000
2 +++ flexdll.mingw/reloc.ml 2008-11-14 10:44:01.000000000 +0000
4 | `MINGW -> "-mno-cygwin "
\r
7 - Filename.dirname (get_output1 (Printf.sprintf "gcc %s-print-libgcc-file-name" extra))
\r
8 + Filename.dirname (get_output1 (Printf.sprintf "i686-pc-mingw32-gcc %s-print-libgcc-file-name" extra))
\r
10 let file_exists fn =
\r
11 if Sys.file_exists fn then Some fn
\r
16 - "gcc -mno-cygwin %s%s -L. %s %s -o %s %s %s %s %s"
\r
17 + "i686-pc-mingw32-gcc %s%s -L. %s %s -o %s %s %s %s %s"
\r
18 (if link_exe = `EXE then "" else "-shared ")
\r
19 (if main_pgm then "" else if !noentry then "-Wl,-e0 " else "-Wl,-e_FlexDLLiniter@12 ")
\r
28 + [ "/usr/i686-pc-mingw32/sys-root/mingw/lib";
\r
31 ["-lmingw32"; "-lgcc"; "-lmoldname"; "-lmingwex"; "-lmsvcrt";
\r
36 - "gcc -mno-cygwin -c -o %s %s %s"
\r
37 + "i686-pc-mingw32-gcc -c -o %s %s %s"
\r
38 (Filename.quote tmp_obj)
\r
41 --- flexdll/Makefile 2008-11-10 13:26:25.000000000 +0000
42 +++ flexdll.mingw/Makefile 2008-11-14 10:57:15.000000000 +0000
45 PACKAGE_BIN_SUFFIX=-amd64 $(MAKE) upload_bin
\r
47 -include $(shell cygpath -ad "$(shell ocamlopt -where)/Makefile.config")
\r
48 +#include $(shell cygpath -ad "$(shell ocamlopt -where)/Makefile.config")
\r
51 @echo Toolchain for the visible ocamlopt: $(TOOLCHAIN)
\r