tarunprabhu wrote: Ah, I think I mixed up `gfortran` and `flang` flags. `-J` in both is the output directory of the module. But in `gfortran`, it also causes the argument to `-J` to be added to the list of directories in which to search for modules (what `-I` usually does). I am not sure if `flang` behaves the same way for `-J`.
In any event, it wou seem that `-J` does not apply to `bbc`. I suggested it earlier because I assumed that the flags for both `flang` and `bbc` would be identical. Apologies for the confusion. https://github.com/llvm/llvm-project/pull/123330 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits