This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
--add-stdcall-alias equivalent for Visual-C++ ?
- From: Jim Kleckner <jek-cygwin2 at kleckner dot net>
- To: cygwin-talk at cygwin dot com
- Date: Sat, 31 May 2008 10:56:56 -0700
- Subject: --add-stdcall-alias equivalent for Visual-C++ ?
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
An off-topic request:
The --add-stdcall-alias argument to ld exports symbols as both
"decorated" (with leading _ and trailing @nn) and "undecorated".
Anyone know of the easiest way to get VC++ to do this?
Yes, a manual exports .def file can be created (or semi-automated).
But it is so nice that ld does this which is needed for Excel or other
DLL-consuming Windoze programs.