Imake and DLLs under Cygwin
Richard
hicklinr@mcd.alcatel.be
Thu Aug 19 10:00:00 GMT 1999
> > 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!
More information about the Cygwin-xfree
mailing list