This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC vs. `make' on Solaris
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>