Stdcall support in binutils

DJ Delorie dj@delorie.com
Mon May 14 08:55:00 GMT 2001


> But in Windows all function names exported from the standartd libraries
> (kernel32, gdi32, user32, etc.) have no any suffix at all, despite the fact
> that they use stdcall calling convention. I need the same effect.

Use dlltool's -k option.  It means that the export has no @ while the
symbol you link against in the import library does.  Then, give the
stdcall name in the def file.



More information about the Binutils mailing list