2006-02-16 08:00 PM
Compiler Option to include the files for compilation as a txt.
2006-02-13 02:33 PM
I would like to know whether is a compiler option to include the files for compilation.(looking for an compiler option equivalent to the linker option +inc *)
Eg: Say i have a batch with the following statement: cxst7 -vl +debug +modm -wa461372 -wb1224 -i''C:\Cosmic\HST7'' ''adc.c'' ''interrupt.c'' ''init.c'' ''vector.c'' ''vumeter.c'' I would like to have the files for compilation in a text document and give it has input to the cxst7 for compilation. Kindly let me know whether this is possible and if so please elaborate with some examples.2006-02-16 08:00 PM
Hello,
it is not possible to do what you ask directly, but with a bit of ''scripting'' you can generate several calls for the C compiler, one for each file of your list. Hope it helps. Regards, Luca (Cosmic)