Newsgroups: comp.lang.c++
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!batcomputer!cornell!uw-beaver!stowe.cs.washington.edu!pauld
From: pauld@stowe.cs.washington.edu (Paul Barton-Davis)
Subject: Re: Mixing C with C++
Message-ID: <1991Apr24.173614.6745@beaver.cs.washington.edu>
Sender: news@beaver.cs.washington.edu (USENET News System)
Reply-To: pauld@cs.washington.edu (Paul Barton-Davis)
Organization: Computer Science & Engineering, U. of Washington, Seattle
References: <1991Apr22.064847.16929@cs.nott.ac.uk> <1991Apr23.133931.6716@ssd.kodak.com> <690@taumet.com>
Date: Wed, 24 Apr 91 17:36:14 GMT

As an example of what the "C++ linker" does that the "C linker" does
not: AT&T C++ 2.1 comes in two varieties, one called patch, the other
called munch. The patch version edits the object file produced by the
linker to fill in the addresses used to link the statics ctors and
dtors together. The munch version does this by running the link
editor/loader (whatever) twice. Getting this functionality yourself is
tedious, but obviously could be done, especially since the "patch"
code is a separate process run by the CC script.

-- 
Paul Barton-Davis			<pauld@cs.washington.edu>
					 UW Computer Science Lab	 

"People cannot cooperate towards common goals if they are forced to
