delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/21/05:06:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C4BE79C.7000400@syntrex.com>
Date: Mon, 21 Jan 2002 11:04:12 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1
X-Accept-Language: en-us
MIME-Version: 1.0
To: Torben Neesgaard <torben AT superusers DOT dk>
CC: cygwin AT cygwin DOT com
Subject: Re: How to make g++ link with QT (a microsoft compatible library) on x86
References: <94A671CDB200AA49ADCC85C7FE10ED4D67FE28 AT hermes DOT super DOT dk>

Yep - this is the expected behavior! :) GNU g++ and MSVC
use different (incompatible) naming schemes to describe
symbols in C++ classes, thus the GNU linker cannot find the
appropriate symbol name for the QT symbols when linking
against MSVC compiled QT.

Torben Neesgaard wrote:

> Hi
> Is there a g++ switch for linking with foreign libraries?
> 
> Under Windows 2000, using g++, I am trying to link with QT, 
> which is released only for Microsoft Visual C++. 
> I get the error-messages shown below. Supposing this caused by
> incompatibilities between g++ and Visual C I am searching for 
> a switch or something to cope with it. Is g++ that clever?
> Please don't tell me to recompile g++ with Visual C++...





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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