On Mon, May 12, 2025 at 6:49 PM Iain Sandoe <idsan...@googlemail.com> wrote: > > > On 12 May 2025, at 17:20, Allin Cottrell <cottr...@wfu.edu> wrote: > > > > 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. > > The reason is that the configuration option is spelled `—enable-languages=` > the one you provided would be ignored and the default set used (which > would include Fortran unless the target description specifically disabled it).
Sorry, that was just a memory lapse on my part: in fact I used --enable-languages in both cases. Allin Cottrell