This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: PATCH RFA: Reorder objects in libbackend.a for faster parallel build


On Mon, Jan 22, 2007 at 06:41:48PM -0800, Ian Lance Taylor wrote:
> Index: Makefile.in
> ===================================================================
> --- Makefile.in	(revision 121050)
> +++ Makefile.in	(working copy)
> @@ -933,61 +933,247 @@ C_AND_OBJC_OBJS = attribs.o c-errors.o c
>  C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)
>  
>  # Language-independent object files.
> +# We put the insn-*.o files first so that a parallel make will build
> +# them sooner, because they are large and otherwise tend to be the
> +# last objects to finish building.

   Preferably, the object files should also be built such that <machine>.md
is checked for errors as early as possible. Then, once you've seen those few
files build correctly, you can go to sleep, work or whatever without risking
that the build stops shortly after because of some silly little error in the
machine description. So I think this patch is a great improvement.

-- 
Rask Ingemann Lambertsen


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