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=1.1 required=3.0 tests=BAYES_00,FROM_SUSPICIOUS_NTLD, FROM_SUSPICIOUS_NTLD_FP,PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!aioe.org!dGELjPO44lRgUjmZYA5/xw.user.46.165.242.75.POSTED!not-for-mail From: Fernando Oleo Blanco Newsgroups: comp.lang.ada Subject: Re: Help: Ada in NetBSD Date: Mon, 13 Sep 2021 20:49:01 +0200 Organization: Aioe.org NNTP Server Message-ID: References: <646f270d-0e65-46a5-b40a-02afab608f1en@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="22042"; posting-host="dGELjPO44lRgUjmZYA5/xw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: reader02.eternal-september.org comp.lang.ada:62724 List-Id: On 01.09.21 15:28, John R. Marino wrote: > Which reminds me: I'd only do this for x86_64 platform. > Regards, > John An update on my side. I have not done any more work on the port. However, I have managed to get a Raspberry Pi 3 (aarch64). This would allow me (in theory) to test NetBSD, FreeBSD and OpenBSD on the board with different architectures. I have NetBSD-earmv6hf "intalled". I could try in the future v7 and aarch64. Same for FreeBSD (aarch64/arm{6?,7}) and OpenBSD (aarch64). I wanted to ask you a question John, maybe you can answer it. In the Makefile.rtl, there are OS/architecture pairs. For example, there is an entry for FreeBSD-x86 and FreeBSD-x86_64. My basic question is, why not just have an entry per OS? I can already answer that question, some architectures have more support that others and the files that they use are different. Okay, I get that. But for the previous example with FreeBSD, as far as I can recall, the Makefile.rtl entries were exactly the same (minus the arch matching mechanism). If the arch is dropped, then, in theory, the OS would be able to compile on any arch without the need of patching. This is important if I want to run FreeBSD on arm, for example. And the differences I have seen regarding different architectures for different OSes, is mostly due to some advance features that the OS probably can already expose, so I am a bit surprised. After all, the OS is supposed to "hide" the hardware away. Anyhow. Regards, Fernando Oleo Blanco https://irvise.xyz