This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31073] symbol names are not created with stdcall syntax
- From: "wt at simpack dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2007 16:17:56 -0000
- Subject: [Bug fortran/31073] symbol names are not created with stdcall syntax
- References: <bug-31073-14203@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from wt at simpack dot de 2007-03-08 16:17 -------
the docs say:
gfortran --target-help
...
--add-stdcall-alias Export symbols with and without @nn
--disable-stdcall-fixup Don't link _sym to _sym@nn
--enable-stdcall-fixup Link _sym to _sym@nn without warnings
...
-mrtd Alternate calling convention
None of the first three options is accepted by gfortran, e.g.:
gfortran -c --add-stdcall-alias simple.f
f951.exe: error: unrecognized command line option "-fadd-stdcall-alias"
Other source in the web (e.g.:
http://04.code-hosting.com/Fortran/1509485-g95---how-to-build-a-DLL )
point out the -mrtd would be the option to do the trick.
None of that works.
So I want to suggest that this really is a bug if a document command line
options causes the compiler to not compile. Additionally this disables
the generation of symbol names in stdcall syntax.
--
wt at simpack dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |blocker
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31073