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: Wed, 7 Apr 2021 09:00:11 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <298c004a-4d9d-4499-b0af-2eec41c5b516n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 7 Apr 2021 09:00:11 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3a75b3b899f7c6c2ad3e4da954562eb5"; logging-data="4477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XtCpW4l83Zi99hl5FnaJQp/H9STCcoE8=" User-Agent: Pan/0.147 (Sweet Solitude; 97d1711 github.com/GNOME/pan.git) Cancel-Lock: sha1:1f/C0vYguEMYBrXG4Btcc4J1BLQ= Xref: reader02.eternal-september.org comp.lang.ada:61747 List-Id: On Tue, 06 Apr 2021 21:19:32 +0000, antispam wrote: > Shark8 wrote: <..snip..> >> IIRC the ARM-9 was Jazelle that did the most "Java bytecode as native >> instructions", and there was a GNAT-JVM (IIRC GNAT Community release >> circa 2014) that targeted the JVM, which was Ada 2005 and [slightly >> buggy, iIRC] Ada 2012 ? hence it could be possible to run JVM-targeted >> Ada 2005/2012 natively on such a processor. > Is there real hardware implementing Java bytecode? My impression was > that the whole thing was mostly software. It is not clear to me if it > has any advantages compared to different JVM. IIUC there is clear > disadvantage: Jazelle need software support integrated at low level with > OS. It is not clear to me if ARM Linux has needed support. There is a description of it on Wikipedia, at https://en.wikipedia.org/ wiki/Jazelle. It sounds like there was a hardware layer that translated bytecode into machine instructions as a stage in the instruction pipeline. It doesn't come across as anything to do with ARM Linux though; more likely the bare-metal side.