From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,788e5be555ea088d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: mingw vs cygwin References: <1138633032.194986.159910@o13g2000cwo.googlegroups.com> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:FiNvz4gtMc/+H0DvokfPBNZyVe8= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 30 Jan 2006 21:29:45 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1138674592 66.159.65.1 (Mon, 30 Jan 2006 21:29:52 EST) NNTP-Posting-Date: Mon, 30 Jan 2006 21:29:52 EST Xref: g2news1.google.com comp.lang.ada:2718 Date: 2006-01-30T21:29:45-05:00 List-Id: midgleyben@hotmail.com writes: > I have a question about the differences between cygwin adn mingw, with > reference to the ada compiler. > > I need to port ada code to XP from linux, link c code (maybe c++) to > the project and create an exe which supports sockets (networking). So > which way mingw or cygwin ? I have read so many reports of problems > with c under mingw and just problems with gcc-ada but non particularly > up to date, any advice welcome. As Jeffrey said, it depends on your C code. I use GNAT (comercially supported) with C code in my project, and it's just fine. That's a mingw run-time. I use the cygwin tools to build everything, because bash is _so_ much nicer than the DOS shell. > Also if I get the whole cygwin installation I get mingw too, to my > understanding if I use mingw I statically link support for the windows > API Only if you are using the Windows API. > and if I use the gcc-ada compiler I need to provide cygwin1.dll for > distribution, is this accurate and can anyone add detail to this > explanation ? You can tell the cygwin gcc-ada compiler to generate code using the mingw runtime; I believe the switch is -mingw, but I haven't tried it. You should seriously consider getting AdaCore support; it is very good - by far the best support from any vendor I've ever had. -- -- Stephe