CUDA wrapper

Seth Shelnutt shelnutt2 at
Sun Jul 6 18:28:40 CDT 2008

I writing a wrapper, would it be correct to more or less follow this guide,
on winelib dll's?

I've never coded anything for Wine before so I want to make sure I do it
right from the beginning instead of having to go back and make drastic

I'll be looking at that opengl32 perl script because there is 102 pages of
functions that cudart.dll and both contain.

On Sun, Jul 6, 2008 at 6:53 PM, Michael Karcher <
wine at> wrote:

> This is not going to work. PE style dynamic linking works quite
> different from ELF style dynamic linking. Wine can not link native ELF
> libraries to windows applications. The files from wine are
> special in being ELF files but containing extra information that allows
> the Wine dynamic linker to link it into PE processes.

> This is right. You need at least a correct .spec file to make a wine
> dll. You still have to implement a wrapper for each function, as Windows
> usually uses the stdcall calling convention, whereas linux uses cdecl by
> default. There might be some way to automate writing the wrapper
> functions.
> Regards,
>   Michael Karcher
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the wine-devel mailing list