3 more debug hooks

Mark Mitchell mark@codesourcery.com
Tue Aug 14 13:57:00 GMT 2001


--On Tuesday, August 14, 2001 09:32:26 AM -0700 Richard Henderson 
<rth@redhat.com> wrote:

> On Tue, Aug 14, 2001 at 04:06:50PM +0100, Jason Merrill wrote:
>> Boo!  For C++, it would be very nice to be able to generate multiple
>> object files from a single compilation.  The current GCC architecture
>> makes that very difficult.
>
> How would you split them up?  Would you emit things to these object
> files out of sequence (one to file A, two to file B, one to file A...)?
>

I've actually talked with people about making the compiler multi-threaded,
which would be the worst possible case; arbitrary interleaving of
everything.  One application of this is for a compile-server on a
multi-processor; you have all your precompiled headers cached and
you just zip through all your files in parallel.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc-patches mailing list