GCC vs. `make' on Solaris

Geoff Keating geoffk@geoffk.org
Fri May 11 17:52:00 GMT 2001


Alexandre Oliva <aoliva@redhat.com> writes:

> On May 11, 2001, Mark Mitchell <mark@codesourcery.com> wrote:
> 
> >   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.
> 
> automake uses `echo timestamp >' instead of touch.  I believe using
> echo without arguments may be some portability issue.

I usually use 'date > s-foo', for easier debugging of weird NFS
problems.  I think 'date' is available everywhere, at least so long as
you don't try passing it any options.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc mailing list