delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/03/19:08:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Originating-IP: [128.107.248.220]
From: "Srinivas Kommu" <kommu AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: How to distribute programs compiled on cygwin?
Date: Mon, 03 Sep 2001 16:08:38 -0700
Mime-Version: 1.0
Message-ID: <F90xox4WADxOTmI68GN00008d3a@hotmail.com>
X-OriginalArrivalTime: 03 Sep 2001 23:08:39.0250 (UTC) FILETIME=[5DF71B20:01C134CD]

I have a C program that uses the Win32 API and some curses functions. I was 
amazed at the speed at which I could develop this program with cygwin and 
gcc. cygwin is a wonderful thing, indeed. Now my problem is, how do I send 
this .exe to someone that doesn't use cygwin? Is there a way to get rid of 
the cygwin-specific dlls out of the executable? I tried -mno-cygwin but that 
seems to be something else, totally.

thanks a lot!
kommu

bash $ cygcheck a.exe
Found: .\a.exe
.\a.exe
  C:\cygwin\bin\cygncurses5.dll
    C:\cygwin\bin\cygwin1.dll
      C:\WINNT\System32\KERNEL32.dll
        C:\WINNT\System32\NTDLL.DLL

Use -h to see help about each section

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
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