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 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.
Hi, I have tried to compile the glow library on my win-xp-32bit pc using mingw taken from http://nuwen.net/mingw.html
The problem is that I want to create a glow.dll along with libglow.a import library. I have read that it can be done with mingw if I specify
--out-implib=libglow.a
I do it in the linker options but nothing is produced. AFAIK it must be specified at the very end of the linker options (after libraries). How can I do it with mingw/ultimate++? How do you do it?