I want to automate our build proceedure (using CruiseControl). Unfortunately our ancient version of uVision (2.14) seems not to be able to output a makefile. Is it possible to run uVision from a batch file such that it builds the target and exits?
yes
you can not run uVision from a .bat file, but you can run the assembler, compiler and linker from a .bat file and achieve your build
Erik
you can not run uVision from a .bat file
You've been better at checking your facts, Erik. Actually uVision can quite usefully be run from batch files. And unless memory fails me spectacularly, even version 2 could.
... and its manual told you how.
http://www.keil.com/support/man/docs/uv4/uv4_commandline.htm
That's the uVision-4 manual - not sure that uVision-2 is identical here...
Thanks everyone. The command line as described in the V4 manual works for uVision 2 - at least for the options I needed.
The command line as described in the V4 manual works for uVision 2
Please enlighten us: what is the insurmountable obstacle keeping you from just using the manual of the version you actually have, which is installed right there on your local machine?