delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/17/08:36:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990817123413.6043.rocketmail@web114.yahoomail.com>
Date: Tue, 17 Aug 1999 05:34:13 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Using libcygwin.a for Visual C++ compiler
To: Hongwei CHU <chu AT softbrain DOT co DOT jp>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

--- Hongwei CHU <chu AT softbrain DOT co DOT jp> wrote:
> Hello,
> I want to use Visual C++ 6.0 to compile one Unix application which was 
> successfully compiled by cygwin-b20. I wrapped the cygwin1.dll to the MS 
> import lib libcygwin.lib and transfered it to the linker together with 
> Msvcrt.lib. This made the compilation successful. However, when I debugged 
> the application until FOPEN, CYGWIN1.dll threw the execption and failed.
> So, what 's wrong with it? Is it due to the incompatibility of the MS lib 
> and cygwin lib? How can I solve the problem?
> 
> I would appreciate any kind of advice.

Yes.  Don't mix cygwin and msvc.  Cygwin is a C runtime, msvcrt is also a C
runtime; YOU SIMPLY CAN'T MIX THE TWO.
===
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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