Re: How to generate the _imp_ prefix?
Sergio NNX <[email protected]> Tue, 21 Jan 2020 22:37:43 +0000
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Message-ID | <BN6PR13MB1314F8213C1DB94FE5FEA5E0CC0D0@BN6PR13MB1314.namprd13.prod.outlook.com> |
Running the tests ... [cid:f7cabf3e-2172-4265-8a14-27617c433632] How much experience do you possess with Binutils/GCC and the like? In another email I will teach you how to produce (MSVC-compatible) import libraries! By the way, there are plenty of online tutorials at your disposal. ________________________________ From: MinGW-Users <[email protected]> on behalf of Joachim Wuttke <j.wuttke-97/[email protected]> Sent: Wednesday, 22 January 2020 7:04 AM To: MinGW Users List <[email protected]> Subject: Re: [Mingw-users] How to generate the _imp_ prefix? > 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
Outlook-wqz1rx2m.png
(image/png, 12.5 KB) - not displayed