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

List:       kde-devel
Subject:    Re: Application execution speed notes.
From:       Yves Glodt <yg () mind ! lu>
Date:       2002-04-11 19:35:26
[Download RAW message or body]

On Thursday 11 April 2002 20:31, Rolf Magnus wrote:
> On Thursday 11 April 2002 19:30, Volker Augustin wrote:
> > Hello,
> >
> > > Look at
> > > http://www.geocrawler.com/archives/3/242/2001/10/0/6957668/ for
> > > some benchmark results. According to those, -z combreloc and
> > > prelink together reduces relocation time to 1% of the time
> > > without any (obj)prelink.
> >
> > Anyone care to give a short description how to make use of this?
> > (environment variables, configure options, makefile changes?)
>
> I never tried the prelink, but for combreloc, you just have to add
> -Wl,-z,combreloc to the link command line. I used the simple
> following change for a combreloc-linked qt (note that you need to
> have a version of the linker that supports it, older ones might just
> ignore the parameter. I'm using binutils 2.12)


Wouldn't it be good to include that as configure-option ?


> Index: mkspecs/linux-g++/qmake.conf
> ===================================================================
> RCS file: /home/kde/qt-copy/mkspecs/linux-g++/qmake.conf,v
> retrieving revision 1.15
> diff -u -3 -p -B -w -r1.15 qmake.conf
> --- mkspecs/linux-g++/qmake.conf       2002/03/15 19:31:20     1.15
> +++ mkspecs/linux-g++/qmake.conf       2002/04/11 19:23:02
> @@ -46,7 +46,7 @@ QMAKE_LIBDIR_OPENGL   = /usr/X11R6/lib
>
>  QMAKE_LINK             = g++
>  QMAKE_LINK_SHLIB       = g++
> -QMAKE_LFLAGS           =
> +QMAKE_LFLAGS           = -Wl,-z,combreloc
>  QMAKE_LFLAGS_RELEASE   =
>  QMAKE_LFLAGS_DEBUG     =
>  QMAKE_LFLAGS_SHLIB     = -shared
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

-- 
Linux 2.4.18 #2 Tue Feb 26 22:43:17 CET 2002 i686
  9:34pm  up  3:08,  1 user,  load average: 2.24, 2.51, 2.41

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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