Cygwin的下 GCC 编译生成的 exe 文件如何独立运行呢? 单独运行这个exe文件时,系统会提示说找不到cygwin.dll文件,如果把两个放在一个目录下就没问题了。另一个可行的方法是在编译时加 -mno-cygwin
,这个还没试用过。

参考文档:

http://www.linuxforum.net/forum/showthreaded.php?Board=kylix&Number=355926

http://bbs.chinaunix.net/thread-517714-1-1.html

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 网络杂谈 | 020i.com Suffusion theme by Sayontan Sinha