From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: John McCabe Newsgroups: comp.lang.ada Subject: Re: Are there any cross-compiler for Embedded Linux on ARMv7? Date: Tue, 30 Mar 2021 16:17:26 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 30 Mar 2021 16:17:26 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="a25d6b5328bf8b085e416b06dd15a109"; logging-data="26789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sWHoDa3Q43Rc5MOcjhj1CfOJ9kd+WXVE=" User-Agent: Pan/0.146 (Hic habitat felicitas; 8107378 git@gitlab.gnome.org:GNOME/pan.git) Cancel-Lock: sha1:zQ7kNFwexTY7mYFxD1yczSsoOCg= Xref: reader02.eternal-september.org comp.lang.ada:61689 List-Id: On Mon, 29 Mar 2021 23:40:46 +0200, Dmitry A. Kazakov wrote: > On 2021-03-29 23:06, John McCabe wrote: >> On Mon, 29 Mar 2021 20:26:47 +0200, Dmitry A. Kazakov wrote: >> >>> On 2021-03-29 19:16, John McCabe wrote: >>>> <..snip..> >> Thanks for that info Dmitry. We're using Petalinux on custom hardware >> with a Xilinx Zynq-7000 (dual-core ARM A9), so it would be nice to run >> it on the real thing to work out how we'd deal with some of the FPGA >> interfaces and so on, if we were to purchase. > If you plan to run Linux there I see no reason why you could not use the > native ARM compiler for evaluation. A cross compiler would change little > or nothing in that case. Well, it's not a massively powerful device, we've got 1GB RAM, and we're using a RAM filesystem. > Otherwise, nothing changes. We can perfectly well compile everything > using GNAT FSF on an ODROID-XU4. It would only take a week instead of a > day to build... The Zynq-7000 we're using is a dual-core ARM A9 (as I mentioned) running at between 866MHz. As far as I can see the ODROID XU4 has quad-A15s at 2GHz + quad-A7s at 1.4GHz, with 2GB RAM. So, if you imagine the "week instead of a day" thing, then take into account the dual-core vs 8-core, 866MHz vs 2.0GHz/1.4GHz, 1.0GB vs 2.0GB, and RAM filesystem (ok, admittedly we have got 4GB flash on there, but...), perhaps a native ARM compiler isn't going to be a very effective evaluation tool :-)