> I tried non-OpenPKG versions of bash-2.05 and bash-3.0 on IRIX64: > > bash-2.05$ A=$(( 3 + 4 )); echo $A > 7 > > bash-3.00$ A=$(( 3 + 4 )); echo $A > 7 > > % uname -a > IRIX64 xxxxxxxx 6.5 04070317 IP30 > > AFAIK the binaries were built using the IRIX C Compiler. >
Ah - that's interesting... When you say non-OpenPKG, did you build them yourself from source, or did you download the binaries from elsewhere? Do you know what version of the compilers were used? Do you know if they were built with CFLAGS=-O (the default for openpkg) or whether more optimisations were enabled? Could you include the output of "env" and "set -o" from bash-3? Could you run "ldd" on bash-3, and see what libraries it's linked against? Cheers, Stuart ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org