This is the mail archive of the 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]

Re: Include Cygwin dll when Compiling

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
> > >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.
>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 ???


Larry Hall                    
RFK Partners, Inc.            
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Want to unsubscribe from this list?
Check out:

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