From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by sourceware.org (Postfix) with ESMTPS id 23EAE384D1BF for ; Tue, 14 Jun 2022 00:37:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 23EAE384D1BF 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-x22b.google.com with SMTP id b7so7963478ljr.6 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=Ap5HmQJqwf0ivnmtflVcdq9t79eRJMqF5q6jwR9NCSkYWxs63KzSmtUoxIxChFXiNr OvlCetPCMduHJGFGgOhmkwnmYACJ5Lkc6/YajYWR0kN/Qek/QfXwtQom/EtNLWilsynQ lFOScSVlkcsk3CEqu4jPsSgykfu6o70gKy6maa3A4sfOmCeSi1v3Ap5lO2n5ETRN8egj ibZ9EWaySYdk9AE4w/ywu1BS7HN5vUOfE0g61nLUF5CA0VlbyBNJaV3ScpcFFjQhV8q1 pirKOKUb4IxHCGd+RCXAnAom/LAvYfr/jA49UQqctddqVjsJzxdvGbEXcF+y83Mc2NJq DDZg== X-Gm-Message-State: AJIora+XcKxXtXKRIse7MgmYJ2TbAfC9ZmqxEEyc1JTqbTlSNlOfdlVr ykDNCu6bAd5sDpK0jY9nXspqAf8JCoFyWb2i2SpRbQ== 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=0.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=ham 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: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: 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