From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 1665F3858408 for ; Tue, 8 Mar 2022 00:22:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1665F3858408 Received: by mail-wr1-x42f.google.com with SMTP id p9so25873816wra.12 for ; Mon, 07 Mar 2022 16:22:23 -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=pv5h+A5jHKGyBHeYeRkBWiwxTbMuSptPKG4ybpI/g/c=; b=SYVnDQB560lMCUnrYPWw2a+Pz/DcLzpYGtatOYfcMU3qY6N2FeL9U2uIdSOzwN0NnG Dn0rgQBg7ZvZu8wOi3IjI8daWNXQ4PwqsXT03x06SFsOpkZkhF5frkx68iN+5ygHZgWv NCguhFiVdOibZdK/bdghCT4s0761N9GJbyZRTS29x96OK3xKBfcZjuk1sC5lKsFbS4jy yt2w52HUXKUGi01JFrFWtmZN2hCukGoBJb5f2h6tp3UBp9u98GY6pZTsFiZXnMdj72TV 3/7uVYnf5gGtm57yV9TIlaYwx2mXeJW+CBnOu8v0M/lYhzaN9N9++0k0mE8nlQIHXaDe 2mzg== X-Gm-Message-State: AOAM530sJHy/uvDvxTK6YB8NcrRUyo7zqGcp+4t5UlgtyJLol4PNr7u0 cVJb7pyQO8wOIhsTdvSLPE0kFvL5c9UT23wUgK4= X-Google-Smtp-Source: ABdhPJx3/E65YU5NOwVzGq9U2VMZPhie8+Pf2AcbsT0D5f0lkfhXGhfqavM/iQit25hKEh+HI+2slca06KgpexgdJGM= X-Received: by 2002:a5d:6d87:0:b0:1f1:f828:3ee1 with SMTP id l7-20020a5d6d87000000b001f1f8283ee1mr5644032wrs.221.1646698941785; Mon, 07 Mar 2022 16:22:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Tue, 8 Mar 2022 00:22:10 +0000 Message-ID: Subject: Re: Components used to build GCC To: vicentesmith Cc: "gcc-help@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, 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-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2022 00:22:24 -0000 On Mon, 7 Mar 2022 at 22:27, vicentesmith via Gcc-help wrote: > > Hello, > I'm building GCC11 on a system running Ubuntu20.04 (that includes GCC 9.3.0). After downloading the prerequisites, the system is stating: > ... > gmp-6.1.0.tar.bz2: OK > mpfr-3.1.6.tar.bz2: OK > mpc-1.0.3.tar.gz: OK > isl-0.18.tar.bz2: OK > All prerequisites downloaded successfully. > My question is whether the GCC build is going to use these versions of GMP, MPFR and MPC or the ones already installed in the system, which are more recent. Thanks. When the sources are present in the GCC source tree (which is what the download_prerequisites script does) then those ones will be used. If you want to use the system versions, just remove the "gmp", "mpfr", "mpc" and "isl" symlinks in the GCC source tree. You can also remove the gmp-6.1.0, mpfr-3.1.6 etc. directories, but doing so isn't necessary. The configure script only looks for the unversioned names, so removing the symlinks is sufficient.