This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.18 mysql+perl+dbi+dbd::mysql


Hallo Nikolayev,

Am Montag, 13. Januar 2003 um 05:29 schriebst du:


> Sorry, but I'm newbie, how can I do this?

>> You need to create an importlibrary from libmysqlclient for cygwin and
>> link against it to build the Cygwin Perl based module.

I create a .def file with impgen which comes with libtool and then
create the .a importlib with dlltool:

1.
/bin/impgen ${DLLNAME}.dll >${DLLNAME}.def

2.
dlltool --as=as --dllname ${DLLNAME}.dll --def ${DLLNAME}.def --output-lib ${DLLNAME}.a

You can fetch a binary of impgen here:
http://koeln.convey.de/cywgin/impgen/impgen.zip

Some more words:
http://koeln.convey.de/cywgin/impgen/cygextract.README


Gerrit
-- 
=^..^=


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]