On Fri, 2007-04-27 at 22:51 +0200, Joerg Wunsch wrote: > As Steven Bosscher wrote: > > > >The idea behind that tool is great, I only wish the authors had > > >taken a class in portable shell scripting before. It's not that > > >all the world's a Vax these days... > > > Patches welcome, I guess. > > Well, quite an amount of work, alas. There's no central template in > CSiBE where this could be changed, instead, they apparently manually > changed each and any of the Makefiles etc. in the src/ subdirectories > there, so it's almost 50 files to make identical changes to. > > I intended to spend my time into trying the various possible GCC > configurations (including the really promising idea Richard Guenther > proposed), not into patching the benchmark tool. It's not that I'm a > university student anymore that has almost indefinate time at hands to > spend... That's been 20 years ago. > > Another thing is to extend CSiBE so it could be used to compile some > meaningful AVR code. It's not that I'm lacking that kind of code, but > these manually hacked Makefiles for each tool make it kinda difficult > to adapt the benchmark suite to different sources that are more > appropriate to the AVR.
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. R.