Re: How to generate the _imp_ prefix?

Joachim Wuttke <j.wuttke-97/[email protected]> Tue, 21 Jan 2020 21:04:36 +0100
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
> Anyway, the way I usually produce import libraries is via the
> "-Wl,--out-implib=" switch to GCC on the link command line.  That
> produces import libraries with the __imp__ prefixes, so this stuff
> does work and the produced libraries should be usable with MSVC
> (although I never tried).

I added
   add_compile_options(-Wl,--out-implib,libmylib.dll.a)
to the top-level CMakeLists.txt; it changed nothing.

- Joachim

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
smime.p7s (application/pkcs7-signature, 5.2 KB) - not displayed