I am trying to compile a large part of portable code in mingw on my windows code. The problem is that I cannot understand howto create a import library. For example if I compile the glow toolkit I end up with a shared libglow.dll where all symbols are exported and I have to specify a -lglow to link. However it is a bit cumbersome, eg lua sticks to lua51.dll and I have to change some parts. It would be useful to have a way to specify --out-implib automatically. It could be positioned between the linker options but it does not work there. It has to be at the end. Is it possible to examine this? I need it desperately. It would be also useful on other platforms.
I am afraid I do not quite understand the problem.