gcc optimization [was: Problems with the gimp1.2.3 n gtk+]

Tim Holterhus lfs at holterhus.com
Fri Nov 15 00:15:38 PST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 13. November 2002 06:07, James Drabb wrote:
> On Wed, 13 Nov 2002 02:51:56 +0100
>
> Tim Holterhus <lfs at holterhus.com> wrote:
> > I have a PIII 800 (overclocked to 1 Ghz) and the compile times for
> > various apps - compared to info I got from either here or other
> > sources - seems to be rather long. Compiling kde from the current
> > cvs on a PIII 600 - I read - only takes about 7-8 hours (including
> > qt-copy), while on my system it takes about 12-16 hours. I wonder
> > wether there is still something fishy w/ my CFLAGS ...
> >
> > 	-Tim
> >
> > --
> > As I said before, I never repeat myself.
>
> Well, compiling any program with -O3 will take longer then -O2, which
> will take longer then -O1 which will take longer then -O.  The
> compiler is checking the code more to find "better" optimizations. 
> The longer compile times really become apparent with c++.  Compile a
> c++ app like moz with -O and then with -O3 and see the time
> difference.  I don't recall kd3 taking 12-16 hours!  The longest
> thing I ever compiled was OOo which was about 12 hours.
>
> Jim Drabb
> --
> ---------------------------------------------------------------
> Those who would sacrifice freedom for security will get neither
> ---------------------------------------------------------------
> James Drabb JR
> Programmer Analyst
> Davenport, FL
> JDrabb at tampabay.rr.com

What modules of KDE are you referring to? I'm talking about the entire 
snapshot directory on ftp.kde.org (well, except maybe one or two 
packages). I built qt 3.1 last night using instructions from the blfs 
book and it ran for (wild guess) approx. 3 - 4 hours.

Should I be worried about the performance of my system? Are there any 
benchmark suites out there that provide means of comparison to 
"similar" systems?

Regards,

	-Tim

- -- 
Welcome to Hell!  Here's your copy of Windows!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE91K0qgoqahLHcQPQRAkZwAKDEtpGKPviJxqIbMSbCFQcyreDX0QCfcjpB
sq+Cp6w7IEVIjYfRYDEwdQ4=
=FFMX
-----END PGP SIGNATURE-----

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list