I turns out that the C166 Keil compiler supports also the /C
compiler switch. This switch is not available through the IDE and is not documented.
To use it, we had to write a batch file that contains the /C
switch and run the compiler a second time to create the .i
file.
It also turns out that all of the compilers we use has this switch (Mircosoft, and as Arun Taylor mentioned, the GCC compiler). So we are able to use the commented .i
file from every compiler.