Hi Bill, with the buildgf.bat batch file as you sent it I indeed got the error message that the 16-bits application it was trying to run was incompatible with the system.
But then I examined the list of compile options and saw that you use "-c" as the first and "-oLOOPFIND.EXE" as the last. This combination causes the compiler to only compile the source code and produce an object file with a name that suggests an executable. It is not an executable though. I then removed "-c" from the list of options and the result was a series of complaints about routines like UPCASE and EXXIT. These are lacking from the source code as you sent it ;). But the most important thing is to remove the -c option! Regards, Arjen Op di 25 sep. 2018 om 18:25 schreef William Brandoni <w.brand...@ameritech.net>: > > OK I give up. Every time I try to send something, your email system bounces > it back. > > Bill > > > ________________________________ > From: Arjen Markus <arjen.markus...@gmail.com> > To: lh_mo...@126.com > Cc: mingw-w64-public@lists.sourceforge.net; w.brand...@ameritech.net; > msys2-us...@lists.sourceforge.net > Sent: Tuesday, September 25, 2018 3:12 AM > Subject: Re: [Msys2-users] [Mingw-w64-public] MinGW64 gfortran issue > > Can you provide some details? I just downloaded MinGW-w64 (so without > MSYS2) onto a laptop running Windows 10 and created a version of the > veneral hello program with gofrtran. It ran without any difficulties. > > Regards, > > Arjen > Op di 25 sep. 2018 om 08:48 schreef Liu Hao <lh_mo...@126.com>: > > > > > 在 2018/9/24 23:37, William Brandoni 写道: > > > I am new to MinGW and gfortran. I am NOT a unix/linux user. Strictly > > > Windows, so I don't understand a lot of unix-specific terms.I am an > > > old-time Fortran programmer, and used to use G77 and G95 on a Windows XP > > > system. > > > OK. so now I have moved to the 21st century and Win 10 Professional and > > > nothing seems to work. > > > I downloaded MinGW64. When I generate an executable for use in a Win 10 > > > command prompt, I get an error that the executable is 16 bit and not > > > supported. How do I make sure I am generating a 32-bit or 64-bit > > > executable? > > > > > > > > > > I don't have any idea about gfortran. Probably there are MSYS2 people > > who work with gfortran. CC'd. > > > > > > -- > > Best regards, > > LH_Mouse > > > > > _______________________________________________ > > Msys2-users mailing list > > msys2-us...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/msys2-users > > _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public