I was also thinking about generating a compiler that puts out only commands.
I do not know if this is possible with the current plugin architekture. It would also be a nice to have for examplet to generate ninja scripts...
We use virtual boxes in our company to make things "programmable for ever". One of this box is complete with all it is needed to develop this system (compiler, IDE, libraries, usb driver ecc) This will guarantee that the embedded system can still be programmed in 10 years, also, if the main OS does not support the drivers anymore, or can not be found ecc...