This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

--preproc_with_compile compiler option

Hi ,

Am using  c6000_7.4.7 compiler and am trying to build using command line.

when i use this compiler options --preproc_with_compile * .obj  is not generated, I don't know if its generated and deleted but during linking the linker is not able  find the .obj. I have verified the following thing

abc.obj : ../src/abc.cpp  compiler.opt
    $(CC)  $(CFLAGS)  --preproc_with_compile --preproc_dependency="abc.pp    $<

the above rule dosnt generate .obj  but  the below one does generate  *.obj and am able to link.

abc.obj : ../src/abc.cpp  compiler.opt
    $(CC)  $(CFLAGS)  -c   $<

what could be the possible error.Any leads!! Thanks in advance!!!