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?
- To: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Subject: Re: Converting the gcc backend to a library?
- From: Jamie Lokier <jamie dot lokier at cern dot ch>
- Date: Tue, 11 Jan 2000 23:18:19 +0100
- Cc: Martin Dalecki <dalecki at cs dot net dot pl>, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc at gcc dot gnu dot org
- References: <387AB4AC.AC3FF485@cs.net.pl> <200001112152.VAA27897@phal.cygnus.co.uk>
Joern Rennecke wrote:
> > make -j would start making sense even on single processor system.
> On the contrary, gcc would become more cpu-intensive because shared library
> code has higher register pressure to accomodate the pic register
> (particularily bad on the x86) and to run the dynamic linker.
> A statically linked cc1* executable that is shared among multiple processes
> uses less CPU to run.
You don't /have/ to compile a shared library with -fPIC, and when the
work on prelinking libraries to estimated fixed addresses is done, it
won't be all that important either.
-- Jamie