delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/07/10:07:54

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
Date: Mon, 7 Nov 2005 16:07:21 +0100
From: Thomas Porschberg <thomas DOT porschberg AT osp-dd DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: __assert linker error
Message-ID: <20051107150721.GA8231@porschberg.osp-dd.de>
References: <20051107092135 DOT GV8231 AT porschberg DOT osp-dd DOT de> <436F68B8 DOT 8A8380A3 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <436F68B8.8A8380A3@dessent.net>
X-Operating-System: Linux porschberg 2.6.11.4-20a-default
User-Agent: Mutt/1.5.10i

Thanks for this explanation. 
The way to get a self-contained non-cygwin but windows
CPPUNIT application based on QT is therefore 
1) download the qt-library as sources
2) compile it with -mno-cygwin -mwindows compiler flags
3) build libqttestrunner with this new qt-library and 
   -mno-cygwin -mwindows as well
4) build my CPPUNIT test with libqttestrunner and qt

Is this roadmap ok ?

Thomas

On Mon, Nov 07, 2005 at 06:46:16AM -0800, Brian Dessent wrote:
> Thomas Porschberg wrote:
> 
> > I compiled cppunit-library as a mingw32 (using -mno-cygwin) application
> > and libqttestrunner as an cygwin library.
> 
> That is why it isn't working.  You can't mix Cygwin and non-cygwin
> objects in the same executable.  Cygwin and mingw use completely
> different C runtimes and trying to mix and match like that will not
> work.
> 
> Brian
> 
> --
> 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/
> 

-- 


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