On Wed, 2004-09-22 at 15:26 +0200, Murray Cumming wrote: > > On Wed, 2004-09-22 at 04:01 +0200, Maciej Katafiasz wrote: > > > >> Let's do it, and kick some low-end asses out there! > >> > > Tagging on the bottom; it'd also be nice to get GNOME optimising the > > linker hash tables by default. For the majority going "huh?" out there, > > it's basically a way of making load times shorter without resorting to > > the evil of prelinking. > > > > The way you enable it is with -Wl,-O1 in your LDFLAGS so that -O1 is > > passed to the linker (ld). > > > > It's completely harmless with no runtime side-effects other than a speed > > gain in application startup. It may increase the build-time slightly as > > it sits and thinks about it a bit more. > > So, is that the only reason that it's not used by default? > Yup, and that in general all optimisation-related flags are off by default. When linking something with a *lot* of symbols (e.g. OpenOffice or Evo) this can add a few seconds to the link time. Scott -- Scott James Remnant scott canonical com
Attachment:
signature.asc
Description: This is a digitally signed message part