开发者

How to build dll in Eclipse without dependency of Cygwin1.dll

开发者 https://www.devze.com 2023-04-01 18:00 出处:网络
I have developed my own dll in Eclipse using cygwin compiler. Currently, I have to开发者_运维技巧 load cygwin1.dll and call cygwin_dll_init method in cygwin1.dll to load my own dll.

I have developed my own dll in Eclipse using cygwin compiler. Currently, I have to开发者_运维技巧 load cygwin1.dll and call cygwin_dll_init method in cygwin1.dll to load my own dll.

Is there any way to build my own dll which shouldn't depend on cygwin1.dll?


You should switch from the gcc cygwin compiler to mingw, which is a gcc build that uses the C runtime from MS instead of its own emulation layer, like cygwin. http://www.mingw.org/

how to use mingw with eclipse

clicky

0

精彩评论

暂无评论...
验证码 换一张
取 消