Skip to main content
sjayapal
Associate III
February 17, 2006
Question

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

  • February 17, 2006
  • 2 replies
  • 559 views
Posted on February 17, 2006 at 05:00

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

This topic has been closed for replies.

2 replies

sjayapal
sjayapalAuthor
Associate III
February 13, 2006
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 II
February 17, 2006
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)