码迷,mamicode.com
首页 > 其他好文 > 详细

MSVC和MinGW组件dll相互调用

时间:2016-07-03 19:00:07      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:

http://www.mingw.org/wiki/msvc_and_mingw_dlls

MinGW调用VC:

The other way is to produce the .a files for GCC. For __cdecl functions (in most cases), it is simple: you only need to apply the reimp tool from Anders Norlander (since his web site is no longer available, you may choose to download
[this version|http://wyw.dcweb.cn/download.asp?path=&file=reimp_new.zip]
enhanced by Jose Fonseca):

 

reimp testdll.lib
gcc -o testmain testmain.c -L. -ltestdll

 

MSVC和MinGW组件dll相互调用

标签:

原文地址:http://www.cnblogs.com/wucg/p/5638543.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!