delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/15/13:40:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: asdf <asdf AT asdf DOT invalid>
Newsgroups: gmane.os.cygwin
Subject: Re: how can I compile my code to run in windows ??
Date: Fri, 15 Mar 2002 10:39:23 -0800
Lines: 24
Message-ID: <3C923FDB.40704@asdf.invalid>
References: <20020209064332 DOT 85600 DOT qmail AT web14207 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: 12-229-193-33.client.attbi.com
Mime-Version: 1.0
X-Trace: main.gmane.org 1016217644 20141 12.229.193.33 (15 Mar 2002 18:40:44 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Fri, 15 Mar 2002 18:40:44 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: en-us, en

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019