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!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Ada on openvms for alpha Date: Sun, 26 Oct 2014 13:02:13 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <1728e4b1-2885-4237-a1d9-847d5b3eee23@googlegroups.com> <6e534f60-44c5-4cc6-aa92-f99044524abe@googlegroups.com> <488604475435921705.230211laguest-archeia.com@nntp.aioe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Sun, 26 Oct 2014 13:02:13 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="fbc1baa2e0ef96c12cd325281da8cc59"; logging-data="23175"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/oJ4l3+rsFALDPKnhM7OcN+AdAS65mYrw=" User-Agent: slrn/0.9.9p1 (Linux) Cancel-Lock: sha1:uIBWL+GgCyas6qv/V5lMJk/t+Bs= Xref: news.eternal-september.org comp.lang.ada:22752 Date: 2014-10-26T13:02:13+00:00 List-Id: On 2014-10-26, Brian Drummond wrote: > On Sat, 25 Oct 2014 12:29:00 +0100, Simon Wright wrote: > >> Luke A. Guest writes: >> >>> David Botton wrote: >>> >>>> For example, I don't have the interest nor am I the expert, but some >>>> one that wanted to a make a few dollars should be able to roll this >>>> guy an openVMS alpha of at least an older version of GNAT that will >>>> work. I am sure he would be will to pay for it. >>>> >>>> >>> Don't quote me on this but I'm fairly sure the VMS packages are not in >>> the FSF tree. >> >> GCC 4.9.1 has 58 files with *vms* in the name in gcc/ada. For example, >> mlib-tgt-specific-vms-alpha.adb, mlib-tgt-specific-vms-ia64.adb > > And the alpha backend still looks to be there in gcc/config/alpha . > If nobody's built it in that configuration for years there's likely to be > some bit-rot, but it may be recoverable with a bit (probably quite a lot) > of work. > You start by building it as a cross compiler on Linux and use copies of the VMS headers and libraries from your target system. Of the four target languages I tried (Ada, C, C++, Fortran) these were the results from building the cross compiler: Ada Internal compiler error while building the GNAT frontend C Test programs written in C and compiled on Linux using the cross compiler appear to run ok on VMS C++ Build failure while building the cross compiler Fortran Test executables build and link and then fail early on during image activation on the target VMS system. The C++ issue looks reasonably easy enough to fix, but I wasn't motivated to spend any time there until the Fortran runtime failures and Ada internal compiler error issues were fixed. In the end however, there was more work involved than I was willing to spend given that I have a large stack of other hobbyist projects which are of more interest to me. :-) Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world