This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++ configure time
- To: gcc at gcc dot gnu dot org
- Subject: Re: libstdc++ configure time
- From: Colin Howell <chowell at redhat dot com>
- Date: Sun, 18 Mar 2001 18:04:35 -0800 (PST)
On Sun, 18 Mar 2001 19:58:34 -0500, Phil Edwards wrote:
> On Sun, Mar 18, 2001 at 12:41:40PM -0800, Richard Henderson wrote:
> > So I started poking around to see what in the world /bin/sh is doing
> > all that time. The answer appears to be linking and unlinking
> > bill-yuns and bill-yuns of tiny little files in /tmp:
>
> I'm going to guess that you're not using the "tmpfs" filesystem for /tmp?
> These go by very quickly when linking/unlinking is in fact all happening
> in RAM and swap, never touching the drives. I'd bet that's why very few
> people have noticed this slowdown; Solaris ships with that on by default.
> Or just nobody's felt like complaining, which is bad.
If you do have a Solaris box which is using tmpfs for /tmp, another
way to speed up configure a bit more is to set the TMPDIR environment
variable to /tmp beforehand. Otherwise, the files made when compiling
all the various tests will be created in /var/tmp by default, and
/var/tmp is usually on a normal ufs filesystem.
--
Colin Douglas Howell E-mail: chowell@redhat.com
Support Engineer
Red Hat, Inc.