This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how can I compile my code to run in windows ??


jinhyuk choi wrote:
> when I run a program that is compiled by cygwin in
> windows by double clicking it without cygwin bash it
> complaints that there is no cygwin.dll.
> how can I make it to run on windows??
> 
> _____________________________________________________________________
> ¸Àº¸±â °­Á¸¦ µè°í ¼ö°­¼Ò°¨À» ÀûÀ¸¸é °æÇ°ÀÌ ¿Í¸£¸£~ - ¾ßÈÄ! ¹è¿òÅÍ
> http://education.yahoo.co.kr/
> ÇÏ·çÁ¾ÀÏ À̾߱âÇصµ ½Ã°£°¡´Â ÁÙ ¸ð¸£´Â - ¾ßÈÄ! äÆÃ
> http://kr.chat.yahoo.com/
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 

First, make sure you have the mingw runtime installed.  Then, when you
compile, give the flag -mno-cygwin to gcc.  The resulting file will be a
native win32 app.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]