avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] RE: [avr-gcc-list] noavr/lib/avr25/attiny13a/Makefile


From: Weddington, Eric
Subject: RE: [avr-libc-dev] RE: [avr-gcc-list] noavr/lib/avr25/attiny13a/Makefile.in
Date: Fri, 30 Jan 2009 15:02:47 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Friday, January 30, 2009 2:53 PM
> To: address@hidden; address@hidden
> Subject: Re: [avr-libc-dev] RE: [avr-gcc-list] 
> noavr/lib/avr25/attiny13a/Makefile.in
> 
> As Weddington, Eric wrote:
> 
> [Things that don't work on Solaris' /bin/sh]
> 
> > > . shell arithmetics, use expr instead.
> 
> > Ok, I'm not a Unix guy. What do you mean by the last statement
> > above? Does this mean that my solution won't work on Solaris?
> 
> Ah well, you're right.  It's the $(( ... )) stuff, that has been
> introduced by Posix but is not available on Solaris' elderly /bin/sh.
> 
> However, without really running the script modified by your patch, I
> couldn't figure out why you were using $(( )) at all.  After all,
> there's no real arithmetic expression inside the parenthesis.  The
> test command's -gt/-lt operators force their operands to be treated as
> integer values anyway.

Oh, so I won't even need the $(( )) stuff at all then? I can work up a new 
patch.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]