GCC -On optimization passes: flag and doc issues
Joerg Wunsch
j@uriah.heep.sax.de
Tue May 1 07:07:00 GMT 2007
As Richard Earnshaw wrote:
> There's no need to hack everything up. As long as you have bash
> installed on your machine, it's straight-forward to run CSiBE on
> *BSD machines: simply invoke the makefiles with SHELL=.../bash.
That's what I did, but it doesn't help for the non-standard usage of
/usr/bin/time (-f option). They even explicitly used /usr/bin/time
rather than bash's builtin.
As Andreas Schwab wrote:
> > ...: simply invoke the makefiles with SHELL=.../bash.
> Or (pd)?ksh, for that matter.
Did you try? Maybe my version of pdksh is just too old, but it
doesn't grok that $((I--)) construct either.
OK, just installed ksh93, it appearently understands it.
Still, I don't see a real need for this in CSiBE as it would be simple
to replace it by the standard Posix arithmetics syntax, or even more
portably by the use of expr(1). The time -f thing is a bit harder to
do (in particular given that bash's time(1) builtin behaves different
that the Posix time(1)).
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
More information about the Gcc
mailing list