Hi, The rule to generate cygchicken-0.dll uses a hardcoded call to gcc. It may cause problems on systems that have multiple gcc versions (or other compiler) and the default one is not the one you want.
Best wishes. Mario -- http://parenteses.org/mario
>From 40e665eb99b53156d3cc3e726993893e4a7edb30 Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart <[email protected]> Date: Tue, 11 Sep 2012 18:52:52 -0300 Subject: [PATCH] rules.make: use $(LINKER) instead of hardcoded gcc for cygchicken-0.dll --- rules.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.make b/rules.make index 25743bc..29bc2bf 100644 --- a/rules.make +++ b/rules.make @@ -229,7 +229,7 @@ ifdef USES_SONAME endif cyg$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX)-0.dll: $(LIBCHICKEN_SHARED_OBJECTS) $(APPLY_HACK_OBJECT) - gcc -shared -o $(LIBCHICKEN_SO_FILE) -Wl,--dll -Wl,--add-stdcall-alias \ + $(LINKER) -shared -o $(LIBCHICKEN_SO_FILE) -Wl,--dll -Wl,--add-stdcall-alias \ -Wl,--enable-stdcall-fixup -Wl,--warn-unresolved-symbols \ -Wl,--dll-search-prefix=cyg -Wl,--allow-multiple-definition \ -Wl,--allow-shlib-undefined \ -- 1.7.9.5
_______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
