cancel
Showing results for 
Search instead for 
Did you mean: 

Compiler Option to include the files for compilation as a txt.

sjayapal
Associate II
Posted on February 17, 2006 at 05:00

Compiler Option to include the files for compilation as a txt.

2 REPLIES 2
sjayapal
Associate II
Posted on February 13, 2006 at 23:33

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.

luca239955_st
Associate III
Posted on February 17, 2006 at 05:00

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)