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

Re: [KDE3] Optimizing

On Monday 08 April 2002 22:20, Chris Howells wrote:
> On Monday 08 April 2002 3:13 pm, Bastian Voigt wrote:
> using the current Debian "testing" distribution. I wonder if anyone
> > has tried other optimizations or has somehow managed to get a fast kde3
> > build on Debian Woody? Comments appreciated.
> Run ./configure with the following options:
> --enable-fast-malloc=full --enable-debug=no --disable-debug
> You can also customise the CXXFLAGS variable to use compiler optimisations.
> E.g.
> export CXXFLAGS="-Wall -mpentiumpro -march=pentiumpro -mcpu=pentiumpro
> -finline-functions -ffast-math -fexpensive-optimizations
> -fomit-frame-pointer"

Hmm.. -fexpensive-optimizations are included in -O2. -mpentiumpro is the same 
as -march=pentiumpro and -march=pentiumpro implies -mcpu=pentiumpro. 
-fomit-frame-pointer will kill ALL crash-backtraces.
I use:
CFLAGS='-pipe -march=i686 -ffast-math -finline-functions' \
CXXFLAGS='-pipe -march=i686 -ffast-math -finline-functions' \
../configure --disable-debug --enable-warnings \
--enable-fast-malloc --enable-final

To UNSUBSCRIBE, email to debian-kde-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: