This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Finding Defined Routines In Libraries
- To: "Mark H. Wood" <mwood at mhw dot oit dot iupui dot edu>, Gnu-Win32 list <gnu-win32 at cygnus dot com>
- Subject: Re: Finding Defined Routines In Libraries
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Wed, 15 Apr 1998 06:16:30 -0700 (PDT)
- Reply-To: earnie_boyd at hotmail dot com
---"Mark H. Wood" <mwood@mhw.oit.iupui.edu> wrote:
>
> On Tue, 7 Apr 1998, Earnie Boyd wrote:
> > In order to find out what routines are defined in a lib*.a or a MS
> > *.lib (not Borlands) you can do the following:
> >
> > nm --demangle --defined-only <libname.a>
>
> 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?
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. Not necessarily the other way around
though. I've as much as just copied a MS some.lib to libsome.a and
linked with it. The linker complains about multiply defined .text and
other such symbols but only gives warnings. The program didn't run,
but it wasn't for this reason that it didn't run. So, I still don't
know if you can do this and just ignore the warnings or not.
Does anyone else have any experience with copying some.lib to
libsome.a and have the program work?
>
> --
> Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu
> I'd rather be designing and coding.
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".