From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by sourceware.org (Postfix) with ESMTPS id 26B30386CE43 for ; Tue, 14 Jun 2022 00:37:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 26B30386CE43 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=archaeologic.codes Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=archaeologic.codes Received: by mail-lj1-x22e.google.com with SMTP id y29so7964454ljd.7 for ; Mon, 13 Jun 2022 17:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=archaeologic.codes; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4F8fPgr1t6z2ZDIfjI0XHiU927YZoF/kGsTr31Fb8OU=; b=PVeHNdfve0si4jyBMPVHEvLRpG+wQgYqrsXIAMRH0E7oywBEAHh5Lbbp/bc+hqXCf6 oqjaMJ6Nt8KkEUHCUrGddLhYhyAHbu2I/d/W7PpOA51S1BLqS5WrqIgh/VrNEbol5SNO ra03lulAgAn2I8kjDq5I7BCM8qqO/n6qHF+y+ktWn7+pyGRpYXxTQ8xqV6yyuUhwqWIK sD1NOnSa+OUIdNY20WYQH5Yk6zrxtR6EgHTShfF6474kByA/+cks65Uz/Cd5qyIqIgff 7v6uwfSkIG8t4ut/tN+bwOWFrqiVl8HTXN+kTKVzL///UDfp8t+fkd16ovAQfprqdB9o hjLw== 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=4F8fPgr1t6z2ZDIfjI0XHiU927YZoF/kGsTr31Fb8OU=; b=jcLKlC1KJFJGJDcg3niICadTD/1JUXfCBi5l04Qua1bFpW3yltsE4JwquNjBRFkzB2 PPgFW6zDXiEJtKDl49Z9kQXDDLXsKgPPdEw8QNbF5yies3v31t74IBEFXUeCQuVySHu+ 9V1+LkClz50gmAuXE/NKZiJews/mm3O5+hdmQUZL/I2maa6H9yP3FPBjj2HJYCZaCNvd ILbRB+pKzbex6vpXYlRrpXtM7FT8cpEQBTPEhXMEaAv6viInE5ljM18Xxpr8qr6SFF/a DOkoUH1b9eleyPHWBe63IUbAk2VpzYuU2NDgWRRvB+9jG5LDgidJr9swAa331sRGZKfj Xypw== X-Gm-Message-State: AJIora8CBOGT6lDfyGrmWm8rQxQ4ID4w3WLpvSNJAqGyCHEr1XUOfnug 51Ks6k4+2NHPBcIX0wYf/XdD+f+eHqjdLVXq/7g11A== X-Google-Smtp-Source: AGRyM1vT8F7ejURNTg09XfE/IevwJXSdAE5SMsr5M4E8zunhNeS8gPGS6bGCVqTEbhHRv/PJFtFY1h1X2tnVh9RSGoQ= X-Received: by 2002:a05:651c:1024:b0:255:81b3:43df with SMTP id w4-20020a05651c102400b0025581b343dfmr1068758ljm.51.1655167055522; Mon, 13 Jun 2022 17:37:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Damian Rouson Date: Mon, 13 Jun 2022 17:37:22 -0700 Message-ID: Subject: Re: GSoC Blog Post 0 - GCCprefab build system To: Jonathan Wakely Cc: Wileam Yonatan Phan , "gcc@gcc.gnu.org" , "fortran@gcc.gnu.org List" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" 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: Tue, 14 Jun 2022 00:37:39 -0000 On Mon, Jun 13, 2022 at 8:27 AM Jonathan Wakely via Fortran < fortran@gcc.gnu.org> wrote: > > Yes, it does that, but takes 400 lines of shell script to do so. > > If you want "relatively easy ways to build GCC painlessly" then you > can do it with nine lines of shell commands. > > Or in about 80, for any non-prehistoric version, with no config file > needed (just a single option to the script, the release number or > snapshot name to build): > > https://gist.github.com/jwakely/95b3a790157f55d75e18f577e12b50d7#file-build_gcc_versions-sh Do the above 9 lines or 80 lines include the entire prerequisite software stack or just the ones that the download_prerequisites script downloads? If I recall correctly, building gfortran also requires flex and building flex requires bison and building bison requires m4 and the download_prerequisites script didn't download any of those the last time I checked. I realize that building gfortran from source comes very easily to GCC developers, especially if they do it regularly. I've encountered a lot of people who found it challenging, including myself initially, which was the reason for incorporating the capability into the OpenCoarrays installer. Damian