delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/13/01:42:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Jan 2003 07:44:11 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <140-1663834167.20030113074411@familiehaase.de>
To: "Nikolayev Dmitry" <nick AT buildbn DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: 1.18 mysql+perl+dbi+dbd::mysql
In-Reply-To: <000e01c2babc$6c562c80$0382c6d9@nick>
References: <002401c2ba03$e4b30180$fbf156d4 AT nick>
<192-1728138512 DOT 20030112135227 AT familiehaase DOT de>
<000e01c2babc$6c562c80$0382c6d9 AT nick>
MIME-Version: 1.0
X-Sender: 320081107336-0001 AT t-dialin DOT net

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019