Win to Lin Library Wrapper

Seth Shelnutt shelnutt2 at gmail.com
Mon Feb 16 11:38:19 CST 2009


I had an interesting thought the other day, and that is to having some built
in support for forwarding windows dlls to linux .so's. A while back, I had
worked on the CUDA wrapper, which basically just transfers the calls from
the dll to so. At that point I didn't work on a CAL wrapper because there
was not linux support from ATI with CAL. Now there is, and has been and
someone has requested a CAL wrapper for folding at home. I've started the work
on it but I have been thinking, that I think it might be benifical to have
some sort of built in support in wine for this. A method for automatically
sending calls made to a .dll to the linux counterpart .so, if one exist. The
work involved with making a wrapper for CUDA or CAL isn't that much, it's
fairly simple in the grand scheme of things. However I'm sure there must be
a lot of 3rd party, non-microsoft libraries that have windows and linux
counter parts, that both expect the same inputs and. I know wine already
does a lot of this, but some sort of automation in the process, in which if
a call is made to cudart.dll, wine sees it, and transfers the calls to
cudart.so. The list of .dlls and respective .so s could simply be kept in
the registry for easy editing, and adding of libraries without the need to
recompile wine.

Hopefully I've put my idea across clearly. What are everyone's thoughts?

Thanks,

Seth Shelnutt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20090216/391bbcb7/attachment.htm 


More information about the wine-devel mailing list