How to make g++ link with QT (a microsoft compatible library) on x86

Pavel Tsekov ptsekov@syntrex.com
Mon Jan 21 02:24:00 GMT 2002


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/



More information about the Cygwin mailing list