Erik de Castro Lopo wrote:
Chris Johns wrote:
I find shell scripting handles some tasks better than say Python.
<snip>
An example of the task being performed is to Canadian cross-compile on Linux
GCC for the RTEMS project's MinGW tool set for a number of target devices
(about 9). Everything is build from source.
For the task you describe, I find that the declarative nature of
the Make is a better fit for the problem.
Make also has the advantage of handling dependancies so that when
it screws up while 90% through a 2 hour build its usually possible
to correct the issue and not have to restart the build from scratch.
We actually use rpmbuild to run make and I wish to capture all the output. It
is the scripting of all this that is the example task I raise. The Canadian
cross requires GCC be built a number of times in different ways. The scripts I
have are much much more than the 20 line cut off you gave for moving to Python
and I would like to use Python but I cannot solve this specific problem and
shell scripting does easily and efficiently.
Regards
Chris
_______________________________________________
coders mailing list
coders@slug.org.au
http://lists.slug.org.au/listinfo/coders