This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]