From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Received: by 2002:a05:620a:205e:: with SMTP id d30mr26553087qka.450.1593617832978; Wed, 01 Jul 2020 08:37:12 -0700 (PDT) X-Received: by 2002:a9d:66cb:: with SMTP id t11mr11242096otm.82.1593617832823; Wed, 01 Jul 2020 08:37:12 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!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: Wed, 1 Jul 2020 08:37:12 -0700 (PDT) In-Reply-To: <242465de-0171-44b1-9618-752b22c3604co@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=165.225.95.73; posting-account=JRF_-woAAABYlsAtkCl_CUxBuQy2SsaQ NNTP-Posting-Host: 165.225.95.73 References: <242465de-0171-44b1-9618-752b22c3604co@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <11c21c57-69de-4fcb-9193-71a98ca93ecao@googlegroups.com> Subject: Re: SweetAda 0.1 released From: gabriele.galeotti.xyz@gmail.com Injection-Date: Wed, 01 Jul 2020 15:37:12 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:59297 List-Id: On Wednesday, July 1, 2020 at 5:00:17 PM UTC+2, Roger wrote: > Looks very interesting. > I have been trying for a few hours to install sweetada on a Mac-mini (2018) but have been unable to. > I haven't been able to figure out the correct install action and build procedure. > I installed the three source packages and installed http://www.sweetada.org/packages/x86_64-sweetada-elf-20200417M.tar.gz into my /opt directory Sorry Roger. As i said, if I test every bit of SweetAda, another year will go. I built the OSX toolchains with a cross compiler, then I use a VirtualBox VM running El Capitan 10.11. But chances are that something went out of sync. Let's try to make a step-by-step. First of all, download sweetada-0.1a.tar.gz. I change some bits last night in x86_64, last minute patch. You must ended up with the Ada toolchain executables in /opt/sweetada/bin/x86_64-sweetada-elf-[as,gnat,gcc,ld,...]. Try to execute the compiler executables ...-gcc for missing libraries or anything else. Inside the sweetada source package, edit the menu.sh file. There are some platform choices. Comment out all the choices and write: PLATFORM=PC-x86-64 ; SUBPLATFORM=QEMU-ROM Run menu.sh with "./menu.sh". It should end up compiling without errors. At this point, you cannot go further because I have still to build QEMU emulator for OSX. But the code is laying in the kernel.rom file. There is another subplatform, PC-USBkey, that once upon a time will ***physically*** boot out of a USB key, but you need the "dd" utility online. Honestly, haven't test it recently, but it worked for real. Please let me know which is the very first point that is failing, possibly with an error description. Best regards.