This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]