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/




Reply via email to