Subject: Re: optimizing compilation of netbsd-current
To: None <netbsd-help@netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-help
Date: 09/16/2003 15:25:39
Frederick Bruckman <fredb@immanent.net> wrote:
> I should point out that setting "-O3" and various machine specific
> optimizations over all the binaries is a great way to identify bugs in
> the compiler that no one else has seen, if that's what you're trying
> to do.=20
If that is so, then I have failed miserably.
[hauke@la] ~ > uname -a
NetBSD la.causeuse.org 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (LAMIN) #0: Sun
Feb 2 23:32:12 CET 2003
hauke@la.causeuse.org:/usr/src/sys/arch/mac68k/compile/LAMIN mac68k
is a Macintosh IIsi built with=20
[hauke@la] ~ > cat /etc/mk.conf
# Global make(1) config
COPTS =3D -m68030 -O3 -pipe=20
CFLAGS +=3D -m68030=20
CXXFLAGS +=3D -m68030
LDSTATIC =3D -static [1]
and up for
[hauke@la] ~ > w
3:15PM up 174 days, 15:45, 1 user, load averages: 0.10, 0.18, 0.13
USER TTY FROM LOGIN@ IDLE WHAT
hauke p0 blech.nt.e-techn 3:12PM 0 w
[hauke@la] ~ >
:)
hauke
[1] Static linking gave a big boost on the little machine, esp. for
interactive work.
--=20
Wer im Usenet gelesen werden will, sollte leserorientiert schreiben. Wer
nur f=FCr sich schreiben will, dem ist mit einem Tagebuch vielleicht
besser geholfen. Gelesen zu werden ist kein Recht, sondern ein Privileg.
(Thore Tams in d.n.s.umgangsformen)