Often I have used the option "-ffast-math", but now:
$ gfortran -O3 -ffast-math nbody.f90 -o nbody.out
/usr/lib/gcc/x86_64-pc-msys/6.3.0/../../../../x86_64-pc-msys/bin/ld:
impossibile trovare crtfastmath.o: No such file or directory
collect2: error: ld returned 1 exit status
This only occurs for the MSYS2-x86_64 version of the compiler. The
MinGW64 (and the WSL, which is 5.4.0 20160609) work as expected.
Angelo
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users