GCC vs. `make' on Solaris
Joe Buck
jbuck@synopsys.COM
Fri May 11 15:09:00 GMT 2001
[ Solaris timestamp problem ]
> There are a lot of possible solutions:
>
> 1. Use `echo' or `cat' in place of `touch' to avoid the bug.
> In other words, use:
>
> rm -f s-foo && echo > s-foo
>
> This works because `creat' works; it's just `utime' that's
> broken.
I suggest doing it roughly this way, assuming it will cure the problem.
But it can be done more cleanly.
Turn uses of "touch" into $(TOUCH), which is normally "touch" but
can be something else on systems with this bug.
> 2. Get rid of all this use of stamp files.
Well, you could do it that way, but it is a much more major change.
And there may be other uses of touch that could still mess us up.
More information about the Gcc
mailing list