Web lists-archives.com

Re: [Mingw-msys] auto<stuff> troubles.

[ This has nothing to do with MSYS as far as I can tell so I don't see
why you didn't use the mingw-users mailing list. ]

Bo Yang wrote:

>     I read from the official document that the .a files in
> mingw-runtime lib directory are import library. But are they binary
> archive files? And if they are import libraries, do they import the
> Win32 API from windows DLL files? And how does this work with gcc?
> Thanks in advance!

What do you mean by "are they binary archive files"?  Yes, they are
binary files, yes they are 'ar' style archives, but no they don't
contain any code like a traditional 'ar' static archive.  An import
library is an aide for linking against the DLL of the same name.  They
work with gcc in that you specify just -lfoo, where foo is the name of
the library, e.g. "-lws2_32".


This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Mingw-msys mailing list