[nhc-bugs] a problem with "clean"?

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Fri, 22 Mar 2002 14:35:22 +0000


> Just a minor gripe.  I wanted to increase the default heap size, so just
> to be on the safe side I cleaned up the subdirectories created by
> "install", then did"gmake clean", run "config" with the new parameter
> and tried to build again:

In fact, all you needed to do was to re-run configure with the new
heapsize parameter, then `make runtime'.  However, I guess this is
not clear from the documentation.

>   > time gmake all
>   gmake: *** No rule to make target `src/compiler98/*.hc', needed by
>   `targets/ix86-OpenBSD/compiler-gcc'.  Stop.
> 
> I had to import the entire tar file again.  Could it be that "clean" was
> a bit too eager?  Or not eager enough?

Yes, `make clean' deletes many of the .hc files that are needed to
build with gcc.  Arguably this is too eager, and should only be done by
`make realclean'.

Regards,
    Malcolm