From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by sourceware.org (Postfix) with ESMTPS id DAFD73858C2D for ; Mon, 7 Feb 2022 09:20:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DAFD73858C2D Received: by mail-ed1-x532.google.com with SMTP id bx2so12230503edb.11 for ; Mon, 07 Feb 2022 01:20:24 -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:content-transfer-encoding; bh=soxXSYYc1Y/4pogMN1/INpWOdPIPUlfdtR9JVgW2CHE=; b=TqvONAZiTafpNu8z/2Tdt+IWVV0qFsl/LSutmNXVQLxEWGK33I+ClLuAHKJyC6zvcR /5GZzqPMzQRj8uroN6TMNDJ/QeXpEOJJOZXnHWMooQPP1kykP+J/sfozN0ZyvBsr8GrF sUxhuugl3xg5N3f920Ih8fjWJd6AozXcV9Jd3OsIo8DbGeY0aQVSde+OXDVJRvavdO99 MvMlFiHquCrGU3WwUsyQpHVGekFE3LX1lNVW7dyou1r7HFttUvqUeC5sRbBMz5JDZCZu tpmbJS46P36kqjuvl+yldR41TboMeJdYmPBwdCZR28qN9pm+FbushM6aV2q3/M5IGDRc VuaQ== X-Gm-Message-State: AOAM531BB26g+yiovEjFiLpsV3vNyXxJvucEp0dh3EgCmsYYDkqjbtWi kmu6xgmCifhvayJlAZfvX1I5ygvcXaUd+5oPeQ0k58L7 X-Google-Smtp-Source: ABdhPJyfPWSYhiyh0Ky9dl/D0Mb/1GnQV42MGtyoTSVbdjOBtRX8aQH/JJt8UN8WDHBiA36bKpyHC1hzSStdDUA1P84= X-Received: by 2002:aa7:d487:: with SMTP id b7mr6047601edr.372.1644225623930; Mon, 07 Feb 2022 01:20:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Richard Biener Date: Mon, 7 Feb 2022 10:20:13 +0100 Message-ID: Subject: Re: Compiling GCC source To: Mohamed Atef Cc: Mir Immad , GCC Development Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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 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: Mon, 07 Feb 2022 09:20:27 -0000 On Sun, Feb 6, 2022 at 8:14 PM Mohamed Atef via Gcc 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.). > > =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 > >>>> > >>>