Home > arm-linux-gnueabi-cpp > arm-linux-gnueabi-cpp -MF

arm-linux-gnueabi-cpp(1) -MF
The C Preprocessor
-MF file
    When used with -M or -MM, specifies a file to write the dependencies to.  If no -MF switch is given
    the preprocessor sends the rules to the same place it would have sent preprocessed output.

Related

cpp [-Dmacro[=defn]...] [-Umacro] [-Idir...] [-iquotedir...] [-Wwarn...] [-M|-MM] [-MG] [-MF filename] [-MP] [-MQ target...] [-MT target...] [-P] [-fno-working-directory] [-x language] [-std=standard] infile outfile
This option does not suppress the preprocessor's debug output, such as -dM. To avoid mixing such debug output with the dependency rules you should explicitly specify the dependency output file with -MF, or use an environment variable like DEPENDENCIES_OUTPUT. Debug output will still be sent to the regular output stream as normal.
When used with the driver options -MD or -MMD, -MF overrides the default dependency output file.
-MD -MD is equivalent to -M -MF file, except that -E is not implied. The driver determines file based on whether an -o option is given. If it is, the driver uses its argument but with a suffix of .d, otherwise it takes the name of the input file, removes any directory components and suffix, and applies a .d suffix.
In other words, this environment variable is equivalent to combining the options -MM and -MF, with an optional -MT switch too.

Tips or Questions?


Powered by ExplainShell