From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=3.0 tests=BAYES_50,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS,PDS_FROM_2_EMAILS autolearn=no autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:27cf:b0:435:cd3b:424c with SMTP id ge15-20020a05621427cf00b00435cd3b424cmr4496358qvb.100.1646930697272; Thu, 10 Mar 2022 08:44:57 -0800 (PST) X-Received: by 2002:a25:e789:0:b0:62f:425a:6aa7 with SMTP id e131-20020a25e789000000b0062f425a6aa7mr1279769ybh.71.1646930696947; Thu, 10 Mar 2022 08:44:56 -0800 (PST) Path: eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 10 Mar 2022 08:44:56 -0800 (PST) Injection-Info: google-groups.googlegroups.com; posting-host=2001:8b0:ca:6:0:0:0:fd; posting-account=TiHetgoAAACluCgYkPc8-TWs6dBNgSne NNTP-Posting-Host: 2001:8b0:ca:6:0:0:0:fd User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2038c88e-b2f7-4499-aeb6-4ddbe081a5a2n@googlegroups.com> Subject: Silly TARGET fix in gcc means gprconfig can find the Ada runtime From: "196...@googlemail.com" <1963bib@googlemail.com> Injection-Date: Thu, 10 Mar 2022 16:44:57 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:63598 List-Id: For all those who can cursed the inability of gprconfig to find the ada runtime, a fix has been pushed into the gcc sources, https://github.com/gcc-mirror/gcc/commit/9467e7331188705ec16c086b77e1809c5b0aab7d. Basically, with 'gcc --dumpmachine' would return something like 'x86_64-pc-linux', but the runtime file s-oscons.ads said it was 'x86_64-pc-linux-gnu' giving a mismatch and the runtime never being found. After modifying compilers.xml to hunt in ../lib(.+)?/ since files are 64bit under lib64, I've built gcc-11, gprbuild & xmlada all without issues. Hooray... Must be one of the longest gubs in gnat...