winemaker problems for creating winelib DLL projects - Solved
+ bug in winemaker
wine-devel at shemesh.biz
Sun Jun 20 05:36:15 CDT 2004
Shachar Shemesh wrote:
> Hi all,
> I'm trying to create a winelib DLL project from scratch. You can
> reproduce using the following steps:
> create a file called "name.c", put the following content in it:
> int func( int a )
> return a+1;
> Create a file called "name.spec". Put the following content in it:
> @ cdecl func( long )
> In this directory, run "winemaker --dll ."
> Run "make".
> I would expect, at this stage, to get a file called "name.dll.so".
> Instead, I get a file called "name.dll.exe.so", with which I cannot
> link other applications, even if I try to rename it to "name.dll.so".
> Am I doing something wrong here?
I managed to solve the above problem by adding a "-shared name.spec" to
the Makefile line that invokes the last winegcc. However, I think
winemaker should have added that line itself. Is this a bug?
Lingnu Open Source Consulting ltd.
More information about the wine-devel