Hello,
I would like to test a wine dll I'm working on on windows. Could you please tell me how the wine dlls are build for windows ? (Or beat me to the the place where it is documented.)
Thanks,
Hi,
--- Michael Jung mjung@iss.tu-darmstadt.de wrote:
I would like to test a wine dll I'm working on on windows. Could you please tell me how the wine dlls are build for windows ? (Or beat me to the the place where it is documented.)
Ivan has a script he uses and there are a few patches I keep in my tree. You can build on Windows using Msys and Mingw. Or if you want to cross-compile from linux I can send you my compiler.
Get msys and from www.sourceforge.net/projects/mingw and the compiler versions that work best are the ones listed here
http://reactos.com/wiki/index.php/Build_Environment
Older binutils have a forward exports bug that can cause problems.
You will also need a copy of flex and bison for windows. You can get them from here
http://prdownloads.sourceforge.net/mingw/mingwDTK-1.0.0-alpha-1.tar.gz
Thanks Steven
__________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
On Thursday 24 February 2005 17:53, Michael Jung wrote:
I would like to test a wine dll I'm working on on windows. Could you please tell me how the wine dlls are build for windows ? (Or beat me to the the place where it is documented.)
Among other possibilities, if you have an RPM based distro you could use my MinGW cross compiler RPM packages, prebuilt for Fedora Core and SUSE but also available as source RPMS to rebuild yourself:
You need to do an out-of-tree build for the Wine tools as well as the PE build. Off the top of my head I repeat Alexandre's original recipe here: Assuming your wine tree is at /sources/wine:
$ cd /sources $ mkdir wine-tools wine-pe $ cd wine-tools $ ../wine/configure && make depend && make tools $ cd ../wine-pe $ ../wine/configure --with-wine-tools=../wine-tools --host=i386-ming32 $ make depend && make
The last step will spit out many errors mostly because Wine targets Unix platforms, not a Windows platform like MinGW. But most dlls will actually build if you ignore the erros (make -k) or cd into the dll's directory first.
-Hans
On Thu, Feb 24, 2005 at 09:19:15PM +0100, Hans Leidekker wrote:
Among other possibilities, if you have an RPM based distro you could use my MinGW cross compiler RPM packages, prebuilt for Fedora Core and SUSE but also available as source RPMS to rebuild yourself:
It may be a good idea to have these instructions included in our Wine Devel docs. They seem to surface from time to time, we could just point people to them.
On Thursday 24 February 2005 21:19, Hans Leidekker wrote:
On Thursday 24 February 2005 17:53, Michael Jung wrote:
I would like to test a wine dll I'm working on on windows. Could you please tell me how the wine dlls are build for windows ? (Or beat me to the the place where it is documented.)
Among other possibilities, if you have an RPM based distro you could use my MinGW cross compiler RPM packages, prebuilt for Fedora Core and SUSE but also available as source RPMS to rebuild yourself:
Thanks for all the tips I've got on this one.
Bye,