This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95,2 bug; can not create cross compiler
- To: hjl at lucon dot org (H.J. Lu)
- Subject: Re: 2.95,2 bug; can not create cross compiler
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 18 Nov 1999 17:44:39 -0200
- Cc: jbuck at synopsys dot COM (Joe Buck), pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer), mrs at windriver dot com, gcc-bugs at gcc dot gnu dot org, gcc at gcc dot gnu dot org, schweitz at nortelnetworks dot com
- References: <19991118161014.828241B493@ocean.lucon.org>
On Nov 18, 1999, hjl@lucon.org (H.J. Lu) wrote:
> +if [ x${target} != x${build} -a x${build} = x${host} ]; then
If this is to be included in gcc, do not use [ ... -a ... ], it is not
portable. Use [ ... ] && [ ... ] instead. Also, some quoting to
avoid potential whitespace problems wouldn't be a bad idea.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them