This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: ld and microsoft libraries
- To: gnu-win32 at cygnus dot com
- Subject: Re: ld and microsoft libraries
- From: cgf at cygnus dot com (Christopher G. Faylor)
- Date: 2 May 1998 22:37:37 GMT
- Newsgroups: cygnus.gnu-win32
- Organization: Cygnus Solutions
- References: <199805010046.RAA14849.cygnus.gnu-win32@pacific.pgroup.com>, <199805011630.MAA09024.cygnus.gnu-win32@tweedledumb.cygnus.com>
- Stamped: newsgate-cygnus
In article <199805011630.MAA09024.cygnus.gnu-win32@tweedledumb.cygnus.com>,
<ian@cygnus.com> wrote:
>I was not aware of that feature of comdat sections. I thought comdat
>sections mainly worked to eliminate duplicate sections, which the GNU
>linker does support. Does the MS linker really pull specific sections
>out of an object file based on symbol references? I don't see any
>reference to that in the PE documentation, although that doesn't mean
>it doesn't happen. That would imply that the MS linker can treat an
>object file like an archive.
That's right. Microsoft has a compiler option for producing objects
which can essentially be loaded "as a library". The linker will only load
functions that are specifically referenced.
--
cgf@cygnus.com "Everything has a boolean value, if you stand
http://www.cygnus.com/ far enough away from it." -- Galena Alyson Canada
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".