Unless you're doing something unusual, the flow is like this: Step 1: build your app or dll as normal on Windows Step 2: copy it to Linux Step 3: run it in Wine If you'll tell us more about your app or dll, we can give you better advice. Is this for a commercial project?