delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/06:40:52

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
Sensitivity:
Subject: Cygwin & Sybase Open-client
To: cygwin AT cygwin DOT com
Cc: "Maxime KAISER" <mkaiser AT caicheuvreux DOT com>
From: "Frederic BOYER" <fboyer AT caicheuvreux DOT com>
Date: Thu, 20 Feb 2003 12:40:02 +0100
Message-ID: <OFF48084B6.1A94A4D0-ONC1256CD3.003F9B31@caicheuvreux.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1KBeq622713

Hello,

I try to use cygwin & Open client together. But I cannot manage to link my
binary with
the sybase lib. In fact, if I do not generate .a libs, I can link but I do
have a rellocation
error at execution, and I cannot link when I use .a generated libs.

Have someone either succeded in using Cygwin with Sybase  / Open Client /
ctlib ?

I generate my .a with this script :

#! /bin/sh
for i in libblk  libcs libct libsybdb ; do
 echo "LIBRARY ${i}" >${i}.def
        echo "EXPORTS" >>${i}.def
        strings ${i}.lib | grep _imp | sed s/__imp__// >>${i}.def
        dlltool --dllname ${i}.dll  --def ${i}.def  --output-lib ${i}.a  -k
done

Thanx 4 help.

Frédéric BOYER.


"This message,  including any attachments may contain confidential and
privileged material;  it is intended only for the person to whom it is
addressed.  Its  contents  do not  constitute  a commitment  by Crédit
Agricole Indosuez Cheuvreux  except  where  provided  for in a written
agreement.  Crédit Agricole Indosuez Cheuvreux assumes no liability or
responsibility for the consequences arising out of a delay and/or loss
in  transit  of  this  message,  or for corruption  or other  error(s)
arising in its transmission and for any misuse or fraudulent use which
may  be made thereof.  If you are not the  intended recipient,  please
contact us  and abstain from  any disclosure, use or dissemination. To
the extent  that  this message  contains  research information  and/or
recommendations,  these  are  provided  on  the  same  basis as Crédit
Agricole Indosuez Cheuvreux's  published  research  and  the recipient
must  have  regard  to  all   disclosures  and  disclaimers  contained
therein."




--
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