delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/16/14:38:21

From: benny AT crocodial DOT de (Benjamin Riefenstahl)
Subject: Re: Finding Defined Routines In Libraries
16 Apr 1998 14:38:21 -0700 :
Message-ID: <3535F644.AC14F780.cygnus.gnu-win32@crocodial.de>
References: <19980415131630 DOT 10451 DOT rocketmail AT send1d DOT yahoomail DOT com>
Mime-Version: 1.0
To: Gnu-Win32 list <gnu-win32 AT cygnus DOT com>

Earnie Boyd wrote:
> ---"Mark H. Wood" <mwood AT mhw DOT oit DOT iupui DOT edu> wrote:
> > I get a feeling (from this and other postings) that the Gnu-Win32
> > binutils understand MS .lib format as well as archive (.a) format.
> Is
> > there something, somewhere, which actually says this, and I just
> missed
> > it?

> > On Tue, 7 Apr 1998, Earnie Boyd wrote:
> I don't know if it is in the FAQ or not but I do know from experience
> that it will work for MS .lib's and not for BORLAND .lib's.
> 
> I also have read, somewhere, that it is by design that things are to
> interwork with MS formats.

MS uses COFF format for it's objects and libs, same as gnu-win32. MS'
version is probably hacked. Also a common object format does not tell
you anything about other ABI issues such as calling conventions, struct
and class object layout, name mangling, exception handling, RTL support,
helper functions etc. So while it's probably more or less easy to get
GNU ld link MS objects, the results may still not work.

Borland uses OMF for object format, so it's not compatible with MS or
gnu-win32. I have heard that they added some compatibility in their
latest Builder release, such as automatic conversion of import libs in
the linker.

Just my 2 cents, benny
======================================
Benjamin Riefenstahl (benny AT crocodial DOT de)
Crocodial Communications EntwicklungsGmbH
Ruhrstraße 61, D-22761 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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