Re: load on Windows

2013-10-05 Thread Eli Zaretskii
From: Gisle Vanem gva...@yahoo.no Date: Sat, 5 Oct 2013 14:33:26 +0200 Eli Zaretskii e...@gnu.org wrote: Well, the tests in the test suite that test this feature did work for me at some point, so you may wish first to verify they do for you, and then compare your extension with the

Re: load on Windows

2013-10-05 Thread Eli Zaretskii
Date: Sat, 05 Oct 2013 16:34:11 +0300 From: Eli Zaretskii e...@gnu.org Cc: bug-make@gnu.org Paul, if this limitation is deliberate, I suggest to document it where we explain the arguments of gmk_add_function. One other important thing that doesn't seem to be covered in the manual is the

Re: load on Windows

2013-10-05 Thread Paul Smith
On Sat, 2013-10-05 at 16:34 +0300, Eli Zaretskii wrote: EXPORT int mk_test_gmk_setup (const gmk_floc *flocp) { gmk_add_function (hello_world, hello_world, 0, 255, 0); ^^^ Make functions cannot have the '_' character in their names, so it seems.

Re: load on Windows

2013-10-05 Thread Gisle Vanem
Eli Zaretskii e...@gnu.org wrote: What about setting: ent-fptr.func_ptr = func; too? They are one and the same, since they are members of a union: struct function_table_entry { union { char *(*func_ptr) (char *output, char **argv, const char *fname); char *(*alloc_func_ptr)

load on Windows

2013-10-03 Thread Gisle Vanem
Hi list. I just built GNU make 3.99.93 using MingW. I tried long and hard to get the load feature to give me anything useful. But no success so far with a very simple mk_test.dll. In my Makefile, I have this: VERSION = 3.99.93 ifeq ($(MAKE_VERSION),$(VERSION)) -load ./mk_test.dll endif The

Re: load on Windows

2013-10-03 Thread Eli Zaretskii
From: Gisle Vanem gva...@yahoo.no Date: Thu, 3 Oct 2013 22:03:14 +0200 VERSION = 3.99.93 ifeq ($(MAKE_VERSION),$(VERSION)) -load ./mk_test.dll endif The above was needed since I needed to use mingw-make version 3.82.90 to build this new make.exe. Windows doesn't allow make.exe to be