Re: [Mingw-w64-public] how to use ld.gold as the linker?

2015-05-17 Thread lh_mouse
I suggest you take a look at precompiled headers. (https://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html) According to my experience it could cut C++ compile time by about 40% on Windows (and about 60%-70% on Linux). -- Best regards, lh_mouse

Re: [Mingw-w64-public] how to use ld.gold as the linker?

2015-05-17 Thread NightStrike
On May 17, 2015 8:40 PM, "zhangxinghai" wrote: > > Mm > I have some another questions > > 1.As the ld.gold only supports elf format,why it is included in the binutils for build target windows?Does that mean I will never touch this tool under windows. It should not be included in a tool chain targ

Re: [Mingw-w64-public] how to use ld.gold as the linker?

2015-05-17 Thread zhangxinghai
Mm I have some another questions 1.As the ld.gold only supports elf format,why it is included in the binutils for build target windows?Does that mean I will never touch this tool under windows. 2.As the compile/link speed is so slow under windows,I hope to speed it up.Can I use the cross compi