jamieschmeiser wrote: The correct way to enable support for -F is to specify `--target=<some darwin target>`, eg `--target=x86_64-apple-macos`. According to https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html, -F is a darwin extension in g++ so it only makes sense for darwin in clang. Currently, it is quietly accepted and ignored by most other targets. Another way that -F can be safely used is when preprocessing only (-fsyntax-only -cc1) or when just checking the command line (-###)
So, if you wish to do more than just check preprocess or check options, you should specify a darwin target. https://github.com/llvm/llvm-project/pull/141614 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits