This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: how can I compile my code to run in windows ??
- From: asdf <asdf at asdf dot invalid>
- To: cygwin at cygwin dot com
- Date: Fri, 15 Mar 2002 10:39:23 -0800
- Subject: Re: how can I compile my code to run in windows ??
- Newsgroups: gmane.os.cygwin
- References: <20020209064332.85600.qmail@web14207.mail.yahoo.com>
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/