Re: How to generate the _imp_ prefix?

Joachim Wuttke <j.wuttke-97/[email protected]> Wed, 22 Jan 2020 10:25:27 +0100
Newsgroups gmane.comp.gnu.mingw.user
Message-ID <[email protected]>
Thanks for your three mails, Sergio.

   The difficulty is not in building the dependent library under MinGW.
   The difficulty is to link the resulting import library from VS.

   As for my level of experience with MinGW: Zero.

   As for the "plenty of online tutorials", I would be most grateful
   for a link to a really pertinent one.

Back to the problem:

   For a function foo(),
   MinGW generates link symbol _foo (according to dumpbin libmylib.lib)
   whereas VS expects _imp_foo.

Hence the primordial question:

   Shall we tweak MingGW to generate _imp_foo, or VS to expect _foo?

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