This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: help with gcc
- From: "Dave Korn" <dk at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 18 Mar 2004 14:22:39 -0000
- Subject: RE: help with gcc
> -----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/