The build system probably first tries to make sure if everything is in place and if there were any changes and re-compiles the new/changed files.
How much time does it take when you try to rebuild? On Mon, Feb 7, 2022, 12:43 AM Mohamed Atef <[email protected]> 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 > > > في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٨ م Mir Immad <[email protected]> كتب: > >> Yes, that is right. >> >> On Mon, Feb 7, 2022, 12:38 AM Mohamed Atef <[email protected]> >> wrote: >> >>> Hello, >>> Only modified files will be recompiled, won't it? >>> >>> >>> في الأحد، ٦ فبراير، ٢٠٢٢ ٩:٠٥ م Mir Immad <[email protected]> كتب: >>> >>>> 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 <[email protected]> >>>> 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 >>>>> >>>>
