File extensions with the C preprocessor (cc command)
Hello,
I'm trying to precompile a file using the preprocessor, but the [b]cc[/b] command always returns the error [code]cc: No input file specified, no output generated[/code].
The command line is :
[code]/opt/SUNWspro/bin/cc -P my_file.ext[/code]
The problem is that the name [b]my_file.ext[/b] is not recognized because of the [b].ext[/b] extension, and [b]cc[/b] accepts only [b].c[/b] files.
Does anybody know if there's an option for the [b]cc[/b] command that allows the use of different file extensions ?
Thank you for your help !

