This patch enables the use of --program-prefix, --program-suffix, and --program-transform-name.
It was tested with a simple test program. It currently seems to have problems with pic, pic16 and z80 ports, but seems to be working with the others.
I initially developed it for mcs51, and extended it to the other ports. I intend to check the issues with pic and z80 ports later, if needed.
This patch is relative to the snapshot 20090817-5492.
I did the modifications only for systems using makefile.in stuff, for Windows projects there is more work to do - feasible, though, I guess.
To use this patch, once applied, I have to do:
configure (with the processors you want) (using --program-prefix also, if needed)
If no program [pre][suf]fix is configured, then it should work like previously.