From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 1FBE43858D3C for ; Sun, 6 Feb 2022 19:28:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1FBE43858D3C Received: by mail-wr1-x42b.google.com with SMTP id k1so4744923wrd.8 for ; Sun, 06 Feb 2022 11:28:47 -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=PftzI7AYgvZLWp+CoDwxLtjWfc+la1TfSrdTku0X+0Y=; b=Xx9eqzcbnE/Tos0l9Al0uD8LLKm2MEVrIP+Hc6GcgAynAIuj/e/l1A+dNc3Nj2TjjD pAsVLCL248HD/rGexvLzPDO7hPWJH/AyOsLkBQyVoRydj1SOt9jT64SDcUAyaZ1AoZHQ pOYeO189kc0Ry9Gla3N/9ttgKVRLy0hqkFNFk6ezK24Hsd52FRk5VryTN3HRNZAakKwn MrpwnKw/xUeTXwt9xK5xet6SFcVu1jOh7nE/aZQAoZELQh9+4HiYbvpfg1DBYE3Iq7eK nB4S2HoNMpCnnH8GiFwOXHfjsSvfTEpjodI+afsUZ8SewtkObgSI3vrEU8l4rSng0csZ Y5EQ== X-Gm-Message-State: AOAM53313suf5PbOsFHUcibc2zasGLSJVKKpnr6DGEki9puHBhRGJFwF re2Dxe6hF6LcFw+60bI5oHXC7x7XuVOzNpsMp7o= X-Google-Smtp-Source: ABdhPJw7FD8qoFJSl134BBqPWXy8KaPUbh+YRBH+H5xy0oSlBDVuCGO/ykkwByKFIUtIcsiH4di1tPbc1CEl9/pDNzU= X-Received: by 2002:adf:f141:: with SMTP id y1mr217786wro.402.1644175725941; Sun, 06 Feb 2022 11:28:45 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mohamed Atef Date: Sun, 6 Feb 2022 21:28:34 +0200 Message-ID: Subject: Re: Compiling GCC source To: Mir Immad Cc: gcc@gcc.gnu.org X-Spam-Status: No, score=0.5 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:28:48 -0000 45 mins and i am waiting =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=A1=D9=A8 =D9= =85 Mir Immad =D9=83=D8=AA=D8=A8: > 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 messeg= e >> 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 a= m >>>>>> 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 >>>>>> >>>>>