This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Danny Smith <dannysmith at clear dot net dot nz>
- Cc: 'Tobias Burnus' <burnus at net-b dot de>, 'GCC Development' <gcc at gcc dot gnu dot org>, dannysmith at users dot sourceforge dot net, 'Steve Kargl' <sgk at troutmask dot apl dot washington dot edu>, fortran at gcc dot gnu dot org
- Date: Sat, 10 Mar 2007 11:11:14 +0100
- Subject: Re: symbol names are not created with stdcall syntax: MINGW, (GCC) 4.3.0 20061021
- References: <002301c762b7$99cc2aa0$f34861cb@anykey>
IMO, anybody who uses -mrtd (with or without decorations) is asking
for
trouble.
Unless you are planning to use a gfortran dll in a VisualBasic app, I
can see little reason to change from the default "C" calling
convention.
That precise reason is, as far as I understand, important for some
people. Fortran code is used for internal routines, built into shared
libraries that are later plugged into commercial apps.
How hard do you think it would be to implement a -mrtd-naming option
(or another name) to go with -mrtd and add name decorations?
FX