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!news.eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Bob Broderbund Newsgroups: comp.lang.ada Subject: Re: Could you write a BSD like os in ADA? Date: Sun, 28 Aug 2016 08:10:29 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <79e591f0-3c3e-42b2-ad1f-3e59a031531e@googlegroups.com> <94756e03-7788-4032-a70b-3a0468fc3af9@googlegroups.com> <2b473012-b01e-4c46-add5-048889bf20df@googlegroups.com> NNTP-Posting-Host: yO51eGMsmM7FenuypAjw8Q.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 Xref: news.eternal-september.org comp.lang.ada:31624 Date: 2016-08-28T08:10:29+00:00 List-Id: On 2016-08-28, Simon Clubley wrote: > On 2016-08-24, Jeffrey R. Carter wrote: >> On 08/24/2016 10:40 AM, Qun-Ying wrote: >>> >>> GNAT has support for OpenVMS: >>> http://www.adacore.com/press/gnat-pro-now-available-for-hp-openvms-on-hp-integrity-servers/ >>> >>> >>> Not sure if FSF GNAT could be cross compiled into VAX OpenVMS. >> >> DEC contracted with AdaCore (then ACT) to provide the DEC Ada-95 compiler. This >> is why GNAT recognizes all the DEC Ada(-83) pragmas, such as Passive. >> > > That doesn't mean all the required bits have shown up in the FSF version > of the GCC codebase (don't forget AdaCore maintain their own codebase). I think Mr. Carter probably knows the history pretty well ;-) But I don't think Adacore has much interest in non-Windows or non-Linux platforms in the native target space. They got rid of their Solaris builds over the years. Still, I remember a rumor that there is something going on for the VMS Intel port at Adacore and it makes sense. It should not be that difficult to port the Linux version to VMS _if_ a current gcc toolchain is available. If VMS goes all the way with Clang/LLVM and doesn't get an up to date gcc going it will be a lot harder. > I was able to use the cross compiler to build some C programs which ran > on VMS, but Fortran code fell over at runtime either during the image > activation process or very shortly afterwards (I can't remember which). If you post the results maybe I could help, or some of the guys in c.l.f. would help. I'm a little surprised anyway. I though the front-end was completely Ada and the back end was C/C++. I did not know there was any Fortran involved in gnat. > Both the C++ and Ada frontends failed to build when building the > cross compiler (GNAT fell over with an ICE during the build and C++ was > some header problem IIRC). I suspect a current gcc on VMS is going to be essential. Much code that uses gcc exploits every last gccism and does so increasingly all the time. Bob