Is there any possibility to parallel compilation in a single file?
Markus Trippelsdorf
markus@trippelsdorf.de
Tue Jul 29 08:21:00 GMT 2014
On 2014.07.29 at 08:07 +0000, Gengyulei (Gengyl) wrote:
> Hi:
>
> Is there any possibility to parallel the compilation in a single file
> scope? For large application the compilation time is long, although
> we can parallel the process at the level of files, we still try to
> find a way to accelerate the compilation in a single file. Can we
> change some serial process into
>
> Parallel? Could you give me some advices? Thank you very much.
Compiling with -flto=<number of cores> and gcc-4.9 should help.
--
Markus
More information about the Gcc
mailing list