Subject: Re: proposal: libcc1 -> static
To: Ian Dall <Ian.Dall@dsto.defence.gov.au>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 01/05/1999 13:54:49
On Tue, 5 Jan 1999, Ian Dall wrote:

:   > : 	Wasn't one of the ideas behind going to libcc1.so to share memory
:   > : 	between different passes of the compiler to make using pipes
:   > : 	feasible. (The whole point being to speed up compiling).
: 
:   > Demand paged VM == for the same language, you get this benefit anyway.
: 
: He is talking different phases, not different instances of the same
: compiler.

What phases are there?  The only programs that use libcc1 are those that go
from C (or C++ or ObjC or F77) to assembly.  The _only_ gain in processing
time comes from quickly compiling a mix of two different languages (so that,
say, cc1 and f771 share some pages).

: With static linking there will be no sharing of pages between cc1, as
: and ld which you might want if you are using the -pipe option.

`See above.'  as and ld don't use libcc1.

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)