Why won't my 32-bit Fortran/C DLL compile in MSYS2?

前端 未结 1 1149
轻奢々
轻奢々 2021-01-16 20:12

I\'m trying to compile a DLL with mixed Fortran/C code on 64-bit Windows 7 in MSYS2 (msys2-x86_64-20160205) with gcc (5.3.0). I want to compile it 32-bit. (It w

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-16 21:00

    No one seems to have wanted to post the answer which we figured out in the comments on the question, so I'm posting it to just tie things up.

    I needed to start the shell with the C:\msys64\mingw32.exe executable. See the comments for more details.

    0 讨论(0)
提交回复
热议问题