Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT 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?= Subject: Re: DLL Win 2000 To: Charles Wilson , "Asbenson, Lyndell L" Cc: "'cygwin AT cygwin DOT 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 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/