Re: GtkSourceView build for Windows?



Contrary to what I believed, apparently import libraries produced by
the mingw toolchain (.dll.a files) are *not* usable directly as import
libraries for MSVS just by copying them under a .lib name instead.

I should mention what happened when I tried that: The program linked
without problems, and the .exe ended up importing from the DLL, but
the import list from that DLL was empty!.. The program of course
crashed as soon as it called a function from the DLL as the import
stub jumped into thin air. This is something to look out for.
(Although I don't know how widespread the belief that one can simply
copy a libfoo.dll.a to foo.lib is?)

--tml



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]