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 <mohamedatef1...@gmail.com>
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 <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
>>>>>
>>>>

Reply via email to