This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Imake and DLLs under Cygwin
- To: Suhaib Siddiqi <Ssiddiqi@inspirepharm.com>
- Subject: Re: Imake and DLLs under Cygwin
- From: Richard <hicklinr@mcd.alcatel.be>
- Date: Thu, 19 Aug 1999 19:01:54 +0200
- CC: cygwin-xfree@sourceware.cygnus.com
- References: <NDBBLHPPKKBKPBLLMFJBAEOICBAA.Ssiddiqi@InspirePharm.Com>
> > The imake rules on Solaris don't produce make rules that require
> > a .def file
> > since the mechanism to produce shared libraries is different on
> > Solaris. This
> > wasn't a problem with the Solaris build.
> You did not understand my point.
> use nm and sed to make *.def file using nm and sed of your lib*.a or lib*.so
> whatever.
Okay: that's what I did in effect. The lib*.a built correctly, but then make
stopped, telling me there was no rule to make *-def.cpp. I want to hand the
product to people who will develop it on Solaris and hope that it will then
rebuild under Cygwin without a problem. I didn't know what a *-def.cpp was, so
I just made a *.def and considered rewriting the imake rule so that it skipped
the *-def.cpp bit. But I'd rather not mess with it in case I regret it later.
Now it's okay - just a *-def.cpp is just a *.def with LIBRARY_VERSION in it
where cpp (through a imake rule called SharedLibraryTarget) can stick the
version number. I made up the file with 'nm' and then manually.
> Have fun. Just do not go to Southeast DC, unless you want to get robbed of
> every pennies you would have. I lived in DC area thus this is the only
> thing I would suggest.
Advice accepted!