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 Message-Id: <4.3.1.2.20010405165052.01f77e20@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 05 Apr 2001 16:51:11 -0400 To: "Latyr Jean-Luc FAYE" , "Cygwin" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Include Cygwin dll when Compiling In-Reply-To: <03b801c0be0e$ffb8e1e0$99face88@dcu.ie> References: <4 DOT 3 DOT 1 DOT 2 DOT 20010405161432 DOT 021fe540 AT pop DOT ma DOT ultranet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 04:28 PM 4/5/2001, Latyr Jean-Luc FAYE wrote: > > At 03:57 PM 4/5/2001, Latyr Jean-Luc FAYE wrote: > > >Dear Cygwin Users, > > > > > >Thanks again for you explanations. > > >This is going to be my last question of the day (I hope so ;) > > >I want to compile a C/C++ file and generate an exe file that can be run >from > > >any PC including a PC without Cygwin dll. > > >I've read the Cygwin FAQ in wich there is a method proposed. > > >I tried it but I didn't have it work. > > >Either I screw up, either it's not working. > > > >At April 05, 2001 9:17 PM, Larry Hall (RFK Partners, Inc) wrote > > > Guess you screwed up!;-) > > > > I can't tell you what you did wrong but I can tell you that the setup > > program that allowed you to install Cygwin is built with Cygwin and > > does not require the cygwin1.dll. If all else fails, you can download > > the source for Cygwin and see how setup is built. This should help you > > figure out your problems. > > > >I think that I screwed up also when explaining my problem. ;-) >I have setup Cygwin and it is working very fine, thanks god >What I want was : >How do I compile a Win32 executable that doesn't use Cygwin? >The -mno-cygwin flag to gcc makes gcc link against standard Microsoft DLLs >instead of Cygwin. This is desirable for native Windows programs that don't >need a UNIX emulation layer. >http://www.cygwin.com/faq/faq.html#SEC82 > >But as my programs are design to run under DOS, I think that it's not >possible with Cygwin and that I should use DJGPP. >Does it sound right ??? Yes. Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple