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]

Re: RFC: No recursion into language subdirectories


On Tue, Jun 20, 2000 at 06:14:37PM -0500, Loren James Rittle wrote:
> Cool, I really like your work towards removal of recursive make calls.
> 
> However, this is a debatable change:
> 
> > In C++, new[12].cc are split into one file per library function [...]
> 
> Given the small size of the files you have split, it may be that the
> tradeoffs are entirely different but libstdc++-v3 has decided to go
> the other way while removing the #ifdef wrapper regions of a HUGE file
> that was compiled multiple (~50?) times.

This is interesting, but not feasible at the present time for libgcc,
I believe.  We can't use -ffunction-sections in this context and
propagating information about the #defines into the mklibgcc script
was impractical.

The time to compile all eight of the new files is less than a second
on my machine.

zw

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