On Sun, Feb 6, 2022 at 8:14 PM Mohamed Atef via Gcc <gcc@gcc.gnu.org> wrote: > > After i built it > I tried make - j 8 and it's recompiling now i thought i will have messege > like > Every thing is up to date or there are no change done > But it actually started to compile again
If you modify parts of gcc/ only then make sure you run make only from within the gcc/ subdirectory of the build tree. Also make sure you really configured with --disable-bootstrap Using 'make cc1' inside gcc/ instead of 'make' can also speed up things considerably if you are testing the C frontend (or cc1plus for C++, etc.). > > في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٨ م Mir Immad <mirimnan...@gmail.com> كتب: > > > Yes, that is right. > > > > On Mon, Feb 7, 2022, 12:38 AM Mohamed Atef <mohamedatef1...@gmail.com> > > wrote: > > > >> Hello, > >> Only modified files will be recompiled, won't it? > >> > >> > >> في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad <mirimnan...@gmail.com> كتب: > >> > >>> Make sure to use all the cores available. > >>> > >>> make -j N > >>> > >>> e.g; make -j 8 > >>> > >>> > >>> On Mon, Feb 7, 2022, 12:26 AM Mohamed Atef via Gcc <gcc@gcc.gnu.org> > >>> wrote: > >>> > >>>> Hello everyone, > >>>> I built gcc from the repo and it took around 2 hours but I am > >>>> wondering should I wait two hours after every modification? > >>>> Is there any way to recompile faster. > >>>> That's very important as we will add some files and tests for OMPD. > >>>> Thanks > >>>> > >>>