winemaker problems for creating winelib DLL projects
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? Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. http://www.lingnu.com/
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?
Shachar
Hi all, 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? Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. http://www.lingnu.com/
On Sun, Jun 20, 2004 at 01:36:15PM +0300, Shachar Shemesh wrote:
Shachar Shemesh wrote:
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?
Most likely, winemaker is in need of some love. Patches welcome. :) -- Dimi.
participants (2)
-
Dimitrie O. Paun -
Shachar Shemesh