This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Converting the gcc backend to a library?
Martin Dalecki wrote:
> > > Yes, I do understand that. But my point is that in today's
> > > single-user workstation environment, how many processes that actually
> > > would use the GCC shared library would actually be simultaneously
> > > running in practice? I still believe that number is very small and
> > > only rarely over one.
>
> make -j would start making sense even on single processor system.
It already makes sense if you've enough memory and more than no I/O.
The shared library doesn't make any difference -- multiple instances of
GCC already share pages. It's when you've got GCC statically linked
into different executables that sharing breaks, because of the different
offsets in the executables, so that's when you'd find a shared library
interesting.
-- Jamie