On Sun December 4 2005 6:35 am, Dale wrote:
> Kristian Poul Herkild wrote:
> > Personally I stick to -O2 since -O3 usually won't do much in reality.
> > -O3 takes longer to compile, and there is very little or no gain at
> > all (and sometimes the gain is negative).
> >
> > If space is the most important issue you might want to compile for
> > smallest possible binary, e.g. -Os
> >
> > -Kristian Poul Herkild
>
> Thanks, I may try that -Os on my rig with the tiny drive.  I'm pruning
> it right now.  It's so full it can't compile.  LOL  -O2 huh.  May give
> that a shot too.  I've got a emerge -e world with the gcc update so . .
> . . .
>
> Dale

Have you deleted the content in /var/tmp/portage (not the directory itself)?  
That can get huge very quickly, and is only needed if you're troubleshooting 
failed emerges.  It's where emerge does it's job with compile-time work 
files. A failed emerge of a large package  can leave a file of hundreds of 
mb, and several of those quickly can reach GB's of wasted disk space.

Robert Crawford
-- 
gentoo-user@gentoo.org mailing list

Reply via email to