This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: No recursion into language subdirectories
- To: rittle at rsch dot comm dot mot dot com
- Subject: Re: RFC: No recursion into language subdirectories
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Tue, 20 Jun 2000 16:22:55 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200006202314.SAA39821@latour.rsch.comm.mot.com>
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