I was looking at the sdk interfaces to add a compiler plugin (toolchain).
And I understood following things so far:
1. We call the entire toolchain as "Compiler", and there are different programs of a "Compiler"
called C compiler, C++ compiler, linker, debugger, ar etc.
2. both C compiler and C++ compiler take same options.
Please correct me if I am wrong in saying above.
Now, I have a few questions below as:
1. What if my C compiler refuse to accept C++ specific options and I have both C and C++ files
in the same target.
2. Should the sdk provide the interfaces to add a new command and its options to a "Compiler" ?
e.g I want to add a new command "mycpp", which is default when I add a .x file. and there is a
tab for specifying options for "mycpp".
Expecting a reply, irrespective of whether the above things make sense or not.
Thanks
Sanjiv