VC与Cygwin的结合
摘要:
1:生成cygwin1.libimpdef cygwin1.def cygwin1.dlllib /DEF:cygwin1.def /OUT:cygwin1.lib2:生成my-crt0.libgcc -shared my-crt0.c -o my-crt0.dllimpdef my-crt0.def my-crt0.dlllib /DEF:my-crt0.def /OUT:my-crt0.lib3: 把crt0.c包含中工程中my_crt0.c#include <sys/cygwin.h>#include <stdlib.h>typedef int (*MainFun 阅读全文
posted @ 2013-03-16 13:24 androidme 阅读(1011) 评论(0) 推荐(0) 编辑