Repository navigation
Cosmetic updates - #110
Cosmetic updates#110
Conversation
When run without an OCaml compiler, there are innocuous errors displayed by GNU make which can be safely ignored.
|
Hello @dra27! I just saw this PR fly past and thought I would take advantage of it to pose an unrelated question. We maintain the following diff for one of our clients (who builds OCaml from source, with the "boostrapped" FlexDLL): diff --git a/mlfi/ocaml/flexdll/Makefile b/mlfi/ocaml/flexdll/Makefile
--- a/mlfi/ocaml/flexdll/Makefile
+++ b/mlfi/ocaml/flexdll/Makefile
@@ -161,7 +161,7 @@ Compat.ml: COMPILER-$(COMPAT_VERSION) $(addsuffix .ml, $(COMPAT_MODULES))
flexlink.exe: $(OBJS) $(RES)
@echo Building flexlink.exe with TOOLCHAIN=$(TOOLCHAIN) for OCaml $(OCAML_VERSION)
rm -f flexlink.exe
- $(RES_PREFIX) $(OCAMLOPT) -o flexlink.exe $(LINKFLAGS) $(OBJS)
+ FLEXLINKFLAGS="" $(RES_PREFIX) $(OCAMLOPT) -o flexlink.exe $(LINKFLAGS) $(OBJS)
version.res: version.rc
$(RES_PREFIX) rc version.rcThe point is that they set |
|
🙂 I agree that can't easily be done from outside. The patch could be done in the compiler's build system, which I'm guessing might simplify things, as I presume the compiler is patched, but flexdll is otherwise unpatched? In the compiler's root |
Thanks for the explanation! |
ocamloptisn't available in the environment.gitignorepatterns for release tarballs and zipsLICENSEfileflexlink.exe-vnumand-versioncommand line argument (finally)