From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Damian Rouson <damian@archaeologic.codes>
Cc: Wileam Yonatan Phan <wileamyp@outlook.com>,
"gcc@gcc.gnu.org" <gcc@gcc.gnu.org>,
"fortran@gcc.gnu.org List" <fortran@gcc.gnu.org>
Subject: Re: GSoC Blog Post 0 - GCCprefab build system
Date: Tue, 14 Jun 2022 09:53:31 +0100 [thread overview]
Message-ID: <CAH6eHdR0KEn=2fUQE678cOEKr6UgrkepJPst-KPVMy74LuU3kg@mail.gmail.com> (raw)
In-Reply-To: <CAHS2gMwXDUAgU8bQuVqFEwvUu6XvdfNbK=cSgEsLNWq+ptJs1Q@mail.gmail.com>
On Tue, 14 Jun 2022 at 01:37, Damian Rouson wrote:
>
>
>
> 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.
It doesn't include them, but they are standard system packages that
everybody can install without downloading the sources and building
them from scratch. There are no run-time dependencies on flex and
bison, just build-time. GMP, MPFR and MPC regularly cause problems for
people doing it the wrong way and ending up with run-time dependencies
on shared libs in non-standard locations (as described in the
InstallingGCC wiki page).
You still need to have the other prerequisites listed at
https://gcc.gnu.org/install/prerequisites.html
next prev parent reply other threads:[~2022-06-14 8:53 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 1:50 Wileam Yonatan Phan
2022-06-13 11:59 ` Jonathan Wakely
2022-06-13 13:34 ` Wileam Yonatan Phan
2022-06-13 15:26 ` Jonathan Wakely
2022-06-13 17:12 ` Wileam Yonatan Phan
2022-06-13 17:38 ` Jonathan Wakely
2022-06-14 0:37 ` Damian Rouson
2022-06-14 8:53 ` Jonathan Wakely [this message]
2022-06-14 11:16 ` Damian Rouson
2022-06-14 13:52 ` Wileam Yonatan Phan
2022-06-17 18:45 ` Bernhard Reutner-Fischer
2022-06-17 19:55 ` Jakub Jelinek
2022-06-18 19:24 ` Bernhard Reutner-Fischer
2022-06-17 20:07 ` Jonathan Wakely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH6eHdR0KEn=2fUQE678cOEKr6UgrkepJPst-KPVMy74LuU3kg@mail.gmail.com' \
--to=jwakely.gcc@gmail.com \
--cc=damian@archaeologic.codes \
--cc=fortran@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=wileamyp@outlook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).