[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Strange linking warnings
From:       Sean Kendall Schneyer <Sean.Schneyer () kau ! se>
Date:       1999-05-20 11:21:34
[Download RAW message or body]

Ummm, just out of curiosity, why go through so much trouble when
all you have to do is edit one line in the config file in the
config/ directory. Then regenerate all the makefiles.

// Sean

David Faure wrote:
> 
> 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

-- 
----------------------------------------------------------------
Sean Kendall Schneyer		Tel: +46 (0)54 700 20 29
Computer Science Department	Fax: +46 (0)54 700 20 60 
Karlstad University		email: mailto:Sean.Schneyer@kau.se
S-651 88 Karlstad Sweden	URL: http://www.cs.kau.se/~sean/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic