> From: "Jannick" <thirdedit...@gmx.net> > Date: Sun, 3 Nov 2019 13:30:11 +0100 > > Would it be possible to pass to build_w32.bat in an optional command line > argument the executable name (currently hard coded in the variable MAKE as > 'gnumake')? > > When creating a plugin (.dll) with GCC (by linking against gnumake.dll.a) > which should then be called by a version of gnumake.exe with a name other > than gnumake.exe, it is not sufficient to simply rename the executable, > since that is hard-coded in the .dll.a library. The suggested feature would > make things easily happen in this case without using workarounds using .def > files, dlltool and alike or even patching the .bat file.
I'm not sure I understand the problem, so could you please elaborate? In particular, can you show how the hard-coded name of the executable prevents linking against the import library? Thanks.