[Bug fortran/31073] symbol names are not created with stdcall syntax
wt at simpack dot de
gcc-bugzilla@gcc.gnu.org
Thu Mar 8 16:18:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list