[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Strange linking warnings
From: David Faure <faure () alpha ! tat ! physik ! uni-tuebingen ! de>
Date: 1999-05-20 10:50:52
[Download RAW message or body]
On Thu, May 20, 1999 at 04:48:11AM -0400, Holger Thon wrote:
> Geert Jansen wrote:
> >
> >
> > The system is a brand new SuSE 6.1.
> >
> > Anybody knows what this is?
>
> qt usually is compiled with the -fno-rtti option. However, kde wants the
> rtti flag to be used. Just delete the -fno-rtti statement in the qt
> Makefile like this (assumed shell is bash):
>
> cd to-qt-source
>
> for i in `find . -name "Makefil*" -type f` ; do sed 's/-fno-rtti//g'
> ${i} > tmpfile ; mv ${i} ${i.old} ; mv tmpfile ${i} ; done
Gosh.
I will show my well-known perl example once more :
The same can be done in 1 line (and not relying on bash) with :
find . -name "Makefil*" -type f | xargs perl -pi -e 's/-fno-rtti//g;'
Just FYI :)
--
David FAURE
david.faure@insa-lyon.fr, faure@kde.org
http://www.insa-lyon.fr/People/AEDI/dfaure/index.html
KDE, Making The Future of Computing Available Today
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic