------- 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 [EMAIL PROTECTED]
  --enable-stdcall-fixup             Link _sym to [EMAIL PROTECTED] 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

Reply via email to