gfortran for windows creating 32bit executables

David Gressett DGressett@amli-denton.com
Sat Jun 28 21:14:00 GMT 2014


>Steve Verdier wrote:
>> Hi Guys,
>> 
>> I've searched the gfortran pages, but can't seem to find a compiler for Windows 7 that creates 32bit executables (which I need for interfacing with non-fortran 32bit programs).
>> 
>> Is there such an animal, or is there a compiler switch for the MinGW64 compiler I have downloaded ? This name "x86_64-4.9.0-win32-seh-rt_v3-rev2" seems to imply 32bit, but I'm >getting a link error when linking a subroutine created with that into a 32bit main program.
>> 
>> Regards,
>> Steve Verdier

32-bit gfortran is available in the MinGW compilers:

http://sourceforge.net/projects/mingw/?source=directory



More information about the Gcc-help mailing list