If gcc 15.1.0 is built as a cross compiler from Linux x86_64 to aarch64-w64-mingw32, is it expected that gfortran will work? I doubt it, since fortran support is not mentioned in the context of the AArch64 MinGW target at https://gcc.gnu.org/gcc-15/changes.html (only C and C++) but I just wanted to check.
Here's why I'm asking. Not expecting fortran to work, I configured my cross build with --languages=c,c++. I was then surprised to find that aarch64-w64-mingw32-gfortran was built. That looked interesting so I tried it out, and was able to compile a bunch of *.f files to object code. But the linker stage then failed -- not suprisingly since libgfortran had not been built. So next I reconfigured and tried rebuilding gcc with --languages=c,c++,fortran. This time the build failed, with multiple undefined symbol errors when linking libgfortran, for example __strtold and _UnwindGetIPInfo. Again, this was kind of expected, but I'm wondering how close gcc 15 is to supporting fortran in this cross context. Allin Cottrell