delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <000701bfd1ba$5b8c3220$64091ba0@dougal> |
Reply-To: | "Paul Baxter" <paul_baxter AT i DOT am> |
From: | "Paul Baxter" <paul_baxter AT i DOT am> |
To: | "Cygwin List" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | mno-cygwin problems - advice needed |
Date: | Fri, 9 Jun 2000 03:27:26 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4029.2901 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4029.2901 |
I've been trying to figure out what's wrong with the mno-cygwin option for gcc and hope I can get some additional advice from the list. Firstly apart from the initial mingw vs mingw32 directory problem (now fixed), I believe the gcc spec file has an incorrect setting for the mingw include directory. I'm new to all this, but I think it should be set to . rather than its current setting of i686-pc-cygwin My main problem though is that I've been attempting to get the newer msvcrt libs to work with cygwin rather than the default crt libs. Firstly is this possible/done before with say B20.1 Secondly given my limited knowledge I was hoping someone might describe briefly the differences between crt0.o crt1.o and crt2.o (latter found in mingw msvcrt build) Final question concerns the mingw include files. Comparing the mingw native distribution to the cygwin mingw files I note that excpt.h is the only file that is considerably different between the two: Mingw 'native' msvcrt version: ------------ #ifndef _EXCPT_H #define _EXCPT_H /* FIXME: This will make some code compile. The programs will most likely crash when an exception is raised, but at least they will compile. */ #ifdef __GNUC__ #define __try #define __except(x) if (0) /* don't execute handler */ #define __finally #define _try __try #define _except __except #define _finally __finally #endif #endif --------------- Cygwin mingw include is far longer but includes a lot of Intel-specific code originally written by Colin Peters for Mingw. /usr/include/mingw32/excpt.h Since the rest of the files seem identical as code (other than the cvs checkout comments) I was curious about this change. Any insights appreciated Paul Baxter -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |