This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Converting the gcc backend to a library?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]