GNU Fortran 95 (GCC) 4.3.0 20061021 (experimental), MINGW build I am trying to compile f90 code into objects that generate the symbol names in stdcall syntax, i.e. [EMAIL PROTECTED] We need the stdcall decorations since we build a dll that is called from an app that needs to do all calls with stdcall.
I have tried each of the following options without success: -mrtd (gfortran -c -mrtd simple.f): compiles w/o problems, however no stdcall decorations in object nm simple.o: 00000000 b .bss 00000000 d .data 00000000 t .text 00000000 T _simple_sub_ --enable-stdcall-fixup (gfortran -c --enable-stdcall-fixup simple.f): compile error f951.exe: error: unrecognized command line option "-fenable-stdcall-fixup" --enable-stdcall-alias (gfortran -c --enable-stdcall-alias simple.f): compile error f951.exe: error: unrecognized command line option "-fadd-stdcall-alias" The following code was compiled (simple.f): SUBROUTINE simple_sub(a,b) integer a,b a = b end Any help greatly appreciated! regards Wolfgang -- Summary: symbol names are not created with stdcall syntax Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wt at simpack dot de GCC build triplet: GNU Fortran 95 (GCC) 4.3.0 20061021 (experimental) GCC host triplet: winXP GCC target triplet: winXP http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31073