This is the mail archive of the
mailing list for the Cygwin project.
Re: How to make g++ link with QT (a microsoft compatible library) on x86
- From: Pavel Tsekov <ptsekov at syntrex dot com>
- To: Torben Neesgaard <torben at superusers dot dk>
- Cc: cygwin at cygwin dot com
- Date: Mon, 21 Jan 2002 11:04:12 +0100
- Subject: Re: How to make g++ link with QT (a microsoft compatible library) on x86
- References: <94A671CDB200AA49ADCC85C7FE10ED4D67FE28@hermes.super.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:
> 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