From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 6A3B33858C74 for ; Sun, 6 Feb 2022 19:18:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6A3B33858C74 Received: by mail-ed1-x530.google.com with SMTP id m11so25491394edi.13 for ; Sun, 06 Feb 2022 11:18:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3Ecori8vtezhZr+EuTaNpO3Xvd71jvBkL9t5G5yaHPc=; b=tu1FlBikYfXevMyWHhxm1bDmRH6Q0PkCQxssqHgg6qWpQoWzhE4sJipab7DmRh1GFp vRIhztT1yfX3LRWH+NjHb1Kgh2KX3mNWlJ8HE+bElP+qLsrphlml4g/zi/qwZxEQ6Ibm KX1urWSgqEPknHXXVuMLYJU6qLVfqA5C/LCCN65VZ6myjrogVbBiMIQVwdKECLFftqZB 1rSwBjWjRNI3paXvzwWf4yAlmCEhmV1TMo+O5UEuDVD4l2fLWfHQ6PpkofBqZMawoSAI w6pdYwS4EZ22EkuoFw5UsEKjdieU5c5FSFQeMYpWzypHrTmx+Y7FgdDcpM7sC04NN1V6 s+Iw== X-Gm-Message-State: AOAM533lQjJb3lZJIUsDW7vN0RcADaQojU3NZoLTKnFpp/dOSyolqlmU zRXZhXld8XFtK58glAPJZDNKtFHmGaP18cCH1cI= X-Google-Smtp-Source: ABdhPJzhcNLlQXDE+Al28V5B6RAMjsl+ghzfDzwjB5bKdoo5kyxJ/9xZ/MTULmroW4Psc90Gpfs9K/cuhRLEXOSs1rQ= X-Received: by 2002:a05:6402:524b:: with SMTP id t11mr10440787edd.161.1644175133449; Sun, 06 Feb 2022 11:18:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mir Immad Date: Mon, 7 Feb 2022 00:48:41 +0530 Message-ID: Subject: Re: Compiling GCC source To: Mohamed Atef Cc: gcc@gcc.gnu.org X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2022 19:18:56 -0000 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 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 > > > =D9=81=D9=8A =D8=A7=D9=84=D8=A3=D8=AD=D8=AF=D8=8C =D9=A6 =D9=81=D8=A8=D8= =B1=D8=A7=D9=8A=D8=B1=D8=8C =D9=A2=D9=A0=D9=A2=D9=A2 =D9=A9:=D9=A0=D9=A8 = =D9=85 Mir Immad =D9=83=D8=AA=D8=A8: > >> Yes, that is right. >> >> On Mon, Feb 7, 2022, 12:38 AM Mohamed Atef >> wrote: >> >>> Hello, >>> Only modified files will be recompiled, won't it? >>> >>> >>> =D9=81=D9=8A =D8=A7=D9=84=D8=A3=D8=AD=D8=AF=D8=8C =D9=A6 =D9=81=D8=A8= =D8=B1=D8=A7=D9=8A=D8=B1=D8=8C =D9=A2=D9=A0=D9=A2=D9=A2 =D9=A9:=D9=A0=D9=A5= =D9=85 Mir Immad =D9=83=D8=AA=D8=A8: >>> >>>> 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 >>>> 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 >>>>> >>>>