> 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).

HTH
Iain


Reply via email to