intention of stubs with arch flag, specially in msvcp*

André Hentschel nerv at
Wed Sep 15 12:18:57 CDT 2010

Hi all,

I used to think the arch flag is only used to say "this function is only available on win32" or

to say the same for win64.

We do that e.g. in msvcp* dlls.

So i am not sure why those stubs like

@ stub -arch=win32 function

differ so heavy from stubs like

@ stub function

The last one silently gets ignored, but the one with the arch flag causes winebuild

to put some extra assembler code into the dll.

So is this intented?

If so, i would add ARM code for that case.(And we also should for other platforms)

Best Regards, André Hentschel

More information about the wine-devel mailing list