Hi,
I have been trying to use Winelib to build a very trivial Windows Application on
Unix just to test the working of winelib. But it does not work according to the
documentation at all. Here are the problems I found:
- When I run winemaker in my project root directory, it runs successfully but in
the end does not produce any configure script as said in the documentation but
produces directly a Makefile
- The Makefile must be manually tweaked to put in the WINE include files path
and the WINE libraries path.
- After changing the generated Makefile, when I run it, I see thousands of
warnings related to ignoring of __stdcall__ attribute in some of the windows
header files, but the build goes through
- The generated executable always has a .so extension which gives a feeling that
it is a shared library rather than an executable
- When I run the above generated file, it simply dumps core without any messages
"Segmentation Fault"
- When I try to run the above application through GDB to debug it, it crashes
even before reaching main
- When I try to run the above application through winedbg to debug it, it simply
hangs, nothing happens after that.

If such a basic thing does not work with Winelib, then I hope that something is
wrong with the way I have understood things and in my process of trying to do
this. Can somebody help ?? By the way, the same kind of setup also did not work
on Linux/Intel and Linux/Athlon combinations as well. So there must be something
very wrong in the way I am doing it. I imagine that the Winelib user's guide
documentation is totally out of date, in which case could somebody please
forward me a document which can produce working executables.

Best Regards
Lokesh

Reply via email to