delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/29/13:43:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: RE: Cannot link ___assert, __impure_ptr with -mno-cygwin
Date: Tue, 29 Mar 2005 13:30:00 -0500
Message-ID: <94BF3137C62D3E4CAED7E97F876585F07639A8@pauex2ku08.agere.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Williams, Gerald S \(Jerry\)" <gsw AT agere DOT com>
To: <cygwin AT cygwin DOT com>
Cc: "Matt Olson" <matt DOT j DOT olson AT gmail DOT com>
X-OriginalArrivalTime: 29 Mar 2005 18:30:00.0773 (UTC) FILETIME=[513A3750:01C5348D]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j2TIhebL003226

Matt Olson wrote:
> Unfortunately, while "compile .o files with -mno-cygwin" fixes my toy
> example, it doesn't help the real code I'm trying to build:
[...]
> If the problem is object files being compiled without -mno-cygwin and
> linked with it, do I need to make sure that all of the (static?)
> libraries I link with are also compiled with -mno-cygwin?

Yes, that's no doubt what's going on. You are trying to link
some object files that depend on the Cygwin runtime library
and others that depend on the MinGW library. If you can, you
should choose one or the other entirely, which should resolve
your link issues.

If you're looking for some way to link some libraries that
depend on Cygwin and others that depend on MinGW, I have no
experience with that.

-Jerry


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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