mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Question about gcc behaviour


From: Kārlis Repsons
Subject: Re: [Mingw-cross-env-list] Question about gcc behaviour
Date: Mon, 26 Apr 2010 07:35:56 +0000
User-agent: KMail/1.12.4 (Linux/2.6.32-gentoo-r7-2010-03-28; KDE/4.3.5; x86_64; ; )

On Sunday 25 April 2010 21:30:51 Mark Brand wrote:
> The shared libraries follow the 
> pattern of "libQtCore4.a", and require flags like "-lQtCore4". If you 
> use qmake, the right "-l" flags will be in your generated makefiles.
Well, in my case (I just checked), when shared libs are used for Linux build, 
I have these options:

g++ -Wl,-O1 -Wl,-rpath,/usr/lib64/qt4 -o build/APP *.o    -L/usr/lib64/qt4 
-lQtGui -L/usr/lib64 -L/usr/lib64/qt4 -L/usr/X11R6/lib -lQtCore

+ some others...

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]