Hi,
I'm working with a mixed C/Fortran project which uses waf as its cross-platform build system. While trying to resolve issues with ifort on Windows, the waf developers asked if there was a way to get ifort to list the preprocessor symbols or macros it defines because they need that info to support compilation with ifort.
As an example, if one runs
gfortran.exe -dM -E - < a.f90
where a.f90 is an empty file, gfortran helpfully dumps out a long list of #defines (see attached).
Is this a thing ifort can do? I've looked into
ifort /E /fpp a.f90 /dryrun
but I don't think that's doing quite the same thing.
There's more info on this issue at https://github.com/waf-project/waf/issues/1672 which revolves around the inability to get version information, etc. from ifort.
Thanks much,