----- Original Message ----- From: "Martin Wilck" <[EMAIL PROTECTED]> To: "Bill Medland" <[EMAIL PROTECTED]> Cc: "wine-devel" <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 6:08 AM Subject: Re: Where is the specfile documented nowadays?
> Am Mit, 2002-09-25 um 01.48 schrieb Bill Medland: > > (I guess we ought to do something about winemaker too; it still names things > > as libxxxx.so) > > Can you be more specific? I thought with my latest patches these issues > with winemaker were settled. OK. Here is where I have a slight problem. (I am quite prepared to accept that it may be because I am not thinking, I am missing or I am just an idiot). I am trying to create a wrapper around an existing shared object. testprog.exe is a windows exe that uses three functions exported by shfile.dll testprog is a linux executable which uses the same three functions exported by shfile.so (I guess I should have called it libshfile.so but never mind that for now) I want a wrapper that sits around shfile.so so that it can be called by testprog.exe under wine. So I have a proxy wrapper (proxy.c) that uses libdl to load the shfile.so and redirect the calls, and I have a shfile.spec (which I am quite prepared to rename shfile.dll.spec, libshfile.dll.spec or whatever) Now I want to use winemaker to set up the build environment. winemaker --nosource-fix --dll --nomfc -I/home/cvswine/wine/include -ldl --s ingle-target shfile.dll --nogenerated-specs --nowrap . and I presume that the resulting so has to be installed as /usr/local/lib/wine/shfile.dll.so (at least if it isn't there then it doesn't get loaded). But winemaker seems to be setting things up so that it will create /usr/local/lib/libshfile.dll.so. I guess the point is that I am not trying to create the so that "is" the executable (if you know what I mean); I am trying to create a true dll replacement. > > Martin > > -- > Martin Wilck Phone: +49 5251 8 15113 > Fujitsu Siemens Computers Fax: +49 5251 8 20409 > Heinz-Nixdorf-Ring 1 mailto:[EMAIL PROTECTED] > D-33106 Paderborn http://www.fujitsu-siemens.com/primergy > > > > > >