delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/30/15:39:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: hp2.xraylith.wisc.edu: khan owned process doing -bs
Date: Tue, 30 Jan 2001 14:37:51 -0600 (CST)
From: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
To: Christopher Abbey <cabbey AT bresnanlink DOT net>
cc: cygwin AT sources DOT redhat DOT com
Subject: Re: -mno-cygwin and c++ stl... progress?
In-Reply-To: <Pine.LNX.4.21.0101301415410.3540-100000@tweedle.cabbey.net>
Message-ID: <Pine.HPP.3.96.1010130143255.2988H-100000@hp2.xraylith.wisc.edu>
MIME-Version: 1.0

On Tue, 30 Jan 2001, Christopher Abbey wrote:

> Seeing the assert.h patch flow by reminded me that a while ago
> (November maybe?) Earnie mentioned something about work being
> under way to enable the subject combination by way of some
> additional packages for the libraries needed to compile for
> msvc targets. I was just wondering how that work had progressed?

I'm not I understand what you're referring to. Contrary to some
opinion out there, -mno-cygwin *in general* does not work for C++
code unless you have the appropriate target libraries from Mingw 
distribution. The reason is twofold -- (1) libgcc.a built for Cygwin 
may or may reference __impure_ptr from Cygwin DLL even if you don't
*think* you're using exceptions (long story, the keyword here is 
inhibit_libc), and (2) the C++ runtime library for Cygwin and Mingw
are *not* compatible.

> I've been using the mingw builds Mumit has on xraylith, but
> have noticed some, uh, "issues" with them and was wondering
> if the time was right to look at a different cross compiling
> environment. (Mo setup the one I'm using now, so it's functional
> within limits....)

Please elaborate on the issues so that I can remedy these.

Regards,
Mumit



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019