Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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 Content-Type: text/plain; format=flowed Message-ID: 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/