GCC vs. `make' on Solaris

Alexandre Oliva aoliva@redhat.com
Fri May 11 17:39:00 GMT 2001


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.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list