From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Colin Gloster Newsgroups: comp.lang.ada Subject: Re: Petition ARM to not hinder Ada Date: Fri, 6 Nov 2015 16:16:31 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Injection-Info: mx02.eternal-september.org; posting-host="1b4315c307f3cc5ba77928d0bb2ed33c"; logging-data="18727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Y8HNoLJsg77wEO/eGT1MN6ZU/4WO6ZDyLfH9231LlHQ==" User-Agent: Alpine 2.11 (DEB 23 2013-08-11) In-Reply-To: Cancel-Lock: sha1:brbVHB8zNbvk95wOPcgRmvLhwrE= X-X-Sender: gloucester@Lydia.insomnia247.nl Xref: news.eternal-september.org comp.lang.ada:28239 Date: 2015-11-06T16:16:31+01:00 List-Id: On October 14th, 2015, Simon Wright has sent: |------------------------------------------------------------------------| |"Paul Colin de Gloucester writes: | | | |> It is possible to obtain GNAT for ARM if one is already an Ada | |> programmer and wants to obtain an Ada compiler. However, a person who | |> is simply planning on targeting ARM hardware might accept a | |> cross-compiler for bad languages. ARM provides a copy of GCC with a | |> customized configuration script which is incompatible with the | |> standard switch --enable-languages=ada for configure but ARM indicated| |> to me that if demand could be shown, then ARM might support Ada. | | | |So far as I can see there are three places where said script says | |"--enable-languages=c,c++" (and one "--enable-languages=c", probably for| |bootstrap) which wouldn't be too hard to change?" | |------------------------------------------------------------------------| Hi, They had not been hard to add "ada," to. As I had reported, ARM provided a "script which is incompatible" with this option. For example: "[. . .] checking for gnatmake... gnatmake checking whether compiler driver understands Ada... yes [. . .] make[3]: Leaving directory '/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final/arm-none-eabi/libgcc' make[2]: Leaving directory '/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final/arm-none-eabi/libgcc' Checking multilib configuration for libada... [. . .] checking for arm-none-eabi-gcc... /home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final/./gcc/xgcc -B/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final/./gcc/ -B/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/install-native/arm-none-eabi/bin/ -B/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/install-native/arm-none-eabi/lib/ -isystem /home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/install-native/arm-none-eabi/include -isystem /home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/install-native/arm-none-eabi/sys-include checking for C compiler default output file name... configure: error: in `/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final/arm-none-eabi/libada': configure: error: C compiler cannot create executables See `config.log' for more details. Makefile:11773: recipe for target 'configure-target-libada' failed make[1]: *** [configure-target-libada] Error 1 make[1]: Leaving directory '/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/gcc-final' Makefile:839: recipe for target 'all' failed make: *** [all] Error 2" |------------------------------------------------------------------------| |"More serious is that build-prerequisites failed in mpfr-2.4.2 with | |"error: invalid instruction mnemonic 'ffreep'", ugh." | |------------------------------------------------------------------------| Maybe for thee but not for me. From the same build log: "[. . .] make[1]: Leaving directory '/home/gloucester/Not_building_native_GNAT_when_trying_this_toolchain/gcc-arm-none-eabi-4_9-2015q2-20150609/build-native/mpfr' + make install [. . .] checking for the correct version of mpfr.h... yes [. . .]" |------------------------------------------------------------------------| |"This might I suppose have to do with the Howto still referring to OS X | |10.7, while the world has moved on to 10.11 ..." | |------------------------------------------------------------------------| I believe that ARM would be receptive to feedback from thee. |------------------------------------------------------------------------| |"> ARM emailed on September 22nd, 2015: | |> "> From: Colin Paul de Glocester [. . .] | |>> Sent: Monday, September 21, 2015 6:48 PM | |>> | |>> Ada is a very good engineering language. You should consider it. | |> | |> Note that including it or not result of a compromise: including it | |> will make our toolchain bigger which incurs a penalty for all the | |> people not using this language but downloading our toolchain. So it | |> needs to be balanced with the number of people who would benefit from | |> having this support. I invite you to create a question on the | |> Launchpad page to keep public track of this request." | |> | |> Would you like to ask such a question on | |> HTTPS://Answers.Launchpad.net/gcc-arm-embedded ? | | | |And did you?" | |------------------------------------------------------------------------| No. If I would had, would others had responded? Thy sincerely, Nicholas Collin Paul de Gloucester