I’m trying to replicate a preprocessing stage that currently is done with gcc (flag -E).
Apparently the ‘-E’ pgcc behaviour is to output the preprocessed code to stdout. In gcc instead you can use a ‘-o’ flag to control where to put the preprocessed code but in pgcc I haven’t been able to achieve the same behaviour. Is that possible?
pgcc also seem’s to have the ‘-P’ flag that stores the output into a ‘*.i’ file.
But ‘-o’ doesn’t seem to affect at all.
My question, then is. Is it possible to preprocess with pgcc specifiying the output location without having to rename the results (with ‘mv’ or redirecting stdout) etc… [just to make my life easier]