Web lists-archives.com

[Mingw-users] MinGW Fortran+Linker produces EXE instead of DLL

I am using Eclipse(Mars) with MinGW, "GNU Fortran Compiler" and "GNU Fortran Linker" to build a Windows DLL from Fortran code.  This is working okay for Debug configuration, but when I switch to creating a Release build, it is producing an EXE file rather than a DLL.

I checked the Linker settings, and -shared is specified.  I compared my settings between Debug and Release, and they are the same.  

Linker options:
*   Debug:  -L <lib file> -v -shared -Wl,--output-def=<def file>
*   Release:  -L <lib file> -v -shared -Wl,--output-def=<def file>

"Expert settings" (Command line pattern) are also the same ...

What could I be doing wrong?

Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe