| delorie.com/archives/browse.cgi | search |
| 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 |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Dave Korn" <dk AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: help with gcc |
| Date: | Thu, 18 Mar 2004 14:22:39 -0000 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <E27BD27C1B7D814E8A89B2EF56F6E96701241F40@svlexc04.corp.netapp.com> |
| Message-ID: | <NUTMEGNRXd2y0z3WtE90000019b@NUTMEG.CAM.ARTIMI.COM> |
| X-OriginalArrivalTime: | 18 Mar 2004 14:22:39.0921 (UTC) FILETIME=[7811EA10:01C40CF4] |
> -----Original Message-----
> From: cygwin-owner On Behalf Of Neto, Antonio Jose Rodrigues
> Sent: 18 March 2004 13:51
> After this gcc -o hello hello.c
>
> Now, I need to send this program to another person that don't
> have cygwin1.dll. So, they cannot execute the exe file
> without the dll.
>
> Is is possible to generate a exe file that don't needs the
> dll of cygwin?
gcc -o hello -mno-cygwin hello.c
[insert generic RTFF comment here]
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |