calling convention

好小 cgl_lgs@163.com
Wed Nov 20 02:50:00 GMT 2013


dear Nuno,
      In MS Windows, you can use MinGW version GFortran.  And you can use '.def' file for the export symbal in your project.

best wish to you~~
(my english not very well, haha~~~)

HawXAiSing

----------------------------
cgl_lgs@163.com
At 2013-11-20 07:59:00,"Nuno Pedrosa" <nunomdp@gmail.com> wrote:
>Hi all,
>
>This is my first post in the GCC Fortran mailing list but i have been
>working with fortran for the last 10 years.
>gfortran has been an important part during all this time, most of the
>time in Linux.
>
>Quite recently I moved to developing in Windows and a lot of the legacy
>code was compiled in Compaq Visual Fortran.
>this means that code that depends on this Fortran library relies on the
>old Compaq calling conventions.
>
>The Intel compiler has options to change calling conventions.
>that is change from default: lower case + appended underscore and string
>lengths passed at the end of the argument list, to the Compaq
>conventions: Upper case, no underscore and string lengths passed after
>each string argument.
>Not to mention the cdecl and stdcall calling conventions.
>
>My question is: are there any plans to include such compiler options in
>gfortran, if not can anybody point me in the right direction on which
>gfortran source files to check if this can be done?
>
>thanks in advance,
>
>Nuno


More information about the Fortran mailing list