> -----Original Message----- > From: > avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu.org > [mailto:avr-gcc-list-bounces+eweddington=cso.atmel....@nongnu. > org] On Behalf Of Joerg Wunsch > Sent: Friday, January 30, 2009 2:53 PM > To: avr-gcc-list@nongnu.org; avr-libc-...@nongnu.org > 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. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list