This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1: Buildable on GHz machines only?
Richard Henderson writes:
> On Fri, Apr 29, 2005 at 01:30:13PM -0400, Ian Lance Taylor wrote:
> > I don't know of a way to tell libtool to not do duplicate compiles.
> > You can use -prefer-pic, but at least from looking at the script it
> > will still compile twice, albeit with -fPIC both times.
>
> Incidentally, libtool does not compile things twice when you use
> convenience libraries. And the entirity of libgcj is built via
> a convenience library these days.
>
> So we are not, in fact, building everything twice.
You know, I didn't even think to check, and you're absolutely right.
OK, so the low-hanging fruit that remains is the libtools script and
the linker. In the latter case, it seems that the big link causes
severe problems with small memory systems.
Andrew.