On Tue, Oct 26, 2010 at 11:51:20AM -0400, Mark Mitchell wrote: > On 10/26/2010 10:41 AM, Joseph S. Myers wrote: > > > Well, slow on hosts where process creation is slow (just like the separate > > gcc/cc1/as/collect2/ld/lto-wrapper/... processes). The separate process > > design was probably based on process creation being fast > > A lot of this is also historical; gcc/cc1/as/ld mirror typical UNIX > compilers of the era at which GCC was built. collect2 was presumably > necessary because of dependence on proprietary ld; if we could assume > GNU ld (or GOLD) everywhere, we could fold that functionality directly > into the linker.
Right now it is definitely required to set up all the LTO environment for the backend linker. However that could probably move into the gcc driver. -Andi -- a...@linux.intel.com -- Speaking for myself only.