Subject: Re: *very* slow C++-compiler
To: Jochen Scharrlach <jscharrl@BA-Stuttgart.De>
From: Chris Gilbert <cg110@york.ac.uk>
List: port-arm32
Date: 05/05/1997 12:46:39
On Mon, 5 May 1997, Jochen Scharrlach wrote:

> Hi,
> 
> > Not unheard of I used to have this problem, that's when I used bash as my
> > shell, for some reason bash seems to make the system go sky high, this was
> > a bane for about a week until I tried it with a user with tcsh and it
> > worked fine :)  Try changing shell.
> 
> Well I tried it with csh, with no effect. I'll change my root-Shell
> but I don't think this will make any difference, because the only
> program affected is cc1plus! If it really makes a difference, I'll take
> a closer look at bash v2.0 :)

The problem was some of the shell things that were called went wrong,
imparticular mkdep used to not work.

> > I'd suggest using the kernel that has libkern asm routines but I've not
> > done one with cumana support (ain't got csc.o, another thing to do today)
> 
> Usually I am much too lazy to compile a custom kernel, especially
> because I have to update the sources from time to time...

Try the auto-building kernels?

> > Have you got the latest .mk files in /usr/share/mk ?  if you've not try
> > downloading them from src/share/mk and copying them into /usr/share/mk
> > (they need to owned by bin.bin and chmoded to a+r) 
> 
> I could do that, but I don't think, this would help - it really can
> happen, that I try to compile a file for over an hour, interrupt the
> compilation, try it again and suddenly it only needs a few seconds!

hmm, have you done a make depend (if needed?)

How's the hard-disc doing? does it need an fsck on some files, this can
cause some problems...)

Chris G