Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <20011003044928.77310.qmail@web14505.mail.yahoo.com>
Date: Wed, 3 Oct 2001 14:49:28 +1000 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001@yahoo.co.nz>
Subject: Re: DLL Win 2000
To: Charles Wilson <cwilson@ece.gatech.edu>,
   "Asbenson, Lyndell L" <lyndell.l.asbenson@intel.com>
Cc: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
In-Reply-To: <3BBA6027.DF416C76@ece.gatech.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

 --- Charles Wilson <cwilson@ece.gatech.edu> wrote: > > 

> The problem is, MS .obj format files are NOT compatible with gcc/ld. 
> I'm really surprised you were able to link at all.
> 

This is news to me. As long as the obj file has no dependency on static
MS runtime (or other MS static lib), on MS debug heap  or on C++
references they work, with mingw or with -mno-cygwin option.  The other
gotcha is struct layout, which can be fixed with -fnative-struct
option.

The usual problem however is dependency on MS libc[mt].lib

Danny 

http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!

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

