www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/28/02:53:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: oNWHjPYVM1nG8WtARQkVSCx1INCkGTB8XxrGqTZVa3co7Q7qbsoBgnjlfzAY58gKwoeXYH0.0lGSOnf0D9abV7Dodvirak9xcuoTwCT2qiPbkyIqYNaaUYrxQyL58vk-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <483D0146.20705@sbcglobal.net>
Date: Wed, 28 May 2008 06:52:54 +0000
From: Greg Chicares <gchicares AT sbcglobal DOT net>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Urgent !!! Reg Linking sybase DLL in cygwin.
References: <182dc94a0805272200h2ab63de6wb2728c8135c97c3c AT mail DOT gmail DOT com>
In-Reply-To: <182dc94a0805272200h2ab63de6wb2728c8135c97c3c@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 2008-05-28 05:00Z, Mani kandan wrote:
>
>   I have created sample.dll in MSVC++  and i am able to link that dll
> in cygwin environment.
>   Even i have tried with some other dlls which is generated in MSVC++,
> i am able to link and that EXE's also
>   working fine.

Perhaps your sample dll does none of the problematic things
Reini mentioned. However, if a C++ vendor dll, built with
msvc, communicates through anything but a very restrictive
subset of C++ (only the vendor can tell you that), then it
can't be linked to code built with g++ to produce a valid
program. It's not just difficult: it's simply not feasible.

Here's another explanation:
  http://www.mingw.org/MinGWiki/index.php/MixingCompilers

> As you suggested the vendor are not support the cygwin
> environment and they didn't agree to give the
>   source code also. The only option is I have to link some other way
> that sybase dll in cygwin.pls help.

Probably your only option is to use msvc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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