eliminating mpc/mpfr and reducing gmp

Jay K jay.krell@cornell.edu
Tue Sep 28 11:13:00 GMT 2010


I only do one language, no driver, one stage, no libraries (none of libgcc, libstdc++, libjava, libada, etc.), no fixincludes (the headers are probably fine, and aren't used by this frontend anyway), the bootstrap compiler is always pretty decent, thus one stage (or I'll "cheat" and do one full regular bootstrap+install of a recent release on the occasional oddball host).
 
 
It takes under 10 minutes on year old MacBook. (sorry, I didn't measure).
 
 
I guess it is very unusual, but it is also actually very useful.
 
 
Everyone else probably depends on good incrementality when actively changing stuff, or pays a higher price overall when occasionally building the entire thing clean and not changing stuff, so this is minor.
 
 
We understand each other, fair enough.
 
 
 - Jay


----------------------------------------
> Date: Tue, 28 Sep 2010 01:51:31 +0100
> From: dave.korn.cygwin@gmail.com
> To: jay.krell@cornell.edu
> CC: aph@redhat.com; gcc@gcc.gnu.org
> Subject: Re: eliminating mpc/mpfr and reducing gmp
>
> On 27/09/2010 12:39, Jay K wrote:
>
> > gmp
> > time sh -c "CC=gcc-4.2 ./configure none-none-none -disable-shared -enable-static && make && ssh root@localhost \"cd `pwd` && make install\""
> > real 2m2.594s
> >
> > mpfr
> > time sh -c "./configure -disable-shared -enable-static && make && ssh root@localhost \"cd `pwd` && make install\""
> > real 0m43.756s
> >
> > mpc
> > time sh -c "./configure -disable-shared -enable-static && make && ssh root@localhost \"cd `pwd` && make install\""
> > real 0m15.495s
>
>
> > which is still a significant fraction of building cc1 (I don't have that
> > time sorry)
>
>
> Huh, am I doing something seriously wrong? It takes me four hours to
> boostrap GCC at with all languages enabled at -j8 on an AMD2x64; I'm not too
> concerned about 3 minutes per pass!
>
> cheers,
> DaveK
> 		 	   		  



More information about the Gcc mailing list