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
精彩评论