This is the mail archive of the
mailing list for the binutils project.
Re: Stdcall support in binutils
> 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.