This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug other/230 - GCC fails to build on Sparc-solaris-2.7 - FIX


On May 23, 2000, Jeffrey A Law <law@cygnus.com> wrote:

>   In message <003f01bfc3ea$fde24010$5919cac2@derwent.co.uk>you write:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 
>> Here is a patch to gcc/libiberty/Makefile.in, whiuh enables libiberty
>> to compile on sparc-solaris-2.7, by preventing the expansion of
>> $PICFLAG causing a shell error in the if statement, due to mismatched
>> quotes.
> Mismatched quotes?  I don't see any mismatched quotes in libiberty/Makefile.in

The problem is that "`"foo"`" is not portable.  Some shells will parse
this as: "`" foo "`", then complain because of the unmatched backticks.

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]