This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31073] symbol names are not created with stdcall syntax



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]