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!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.ada Subject: Re: compiling GPS (aka GNAT Studio!) from source Date: Sat, 26 Oct 2019 22:24:13 -0700 Organization: None to speak of Message-ID: References: <03e7fc79-57e2-41a6-96de-1530bf2b5385@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="a81003712e56c2310798229a9d42ce2b"; logging-data="31307"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qDZtMDd5uXaJYcR6QNXzH" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:dJcmGOsHoq2TzR72OExLuRtGZqg= sha1:Kgu5JKDdvD4WAOul9RoXoISDeq4= Xref: reader01.eternal-september.org comp.lang.ada:57352 Date: 2019-10-26T22:24:13-07:00 List-Id: Steve Johnson writes: > On Friday, October 25, 2019 at 12:12:57 PM UTC-7, Dmitry A. Kazakov wrote: >> >> I tried once and failed. If you manage, please post somewhere instructions. > > You might want to take a look at https://github.com/steve-cs/gnat-builder > > The README.md is out of date, but the Makefile should yield clues on > how I build gps and spark2014 from source on Ubuntu Bionic. It follows > fairly closely the READMEs from the AdaCore github repositories. > > Be careful as the default install directory is /usr/local and things > like "make release" will clear that (sudo rm -rf /usr/local/*) before > building, installing, and tar'ing up a release. "make -n release | less" > will let you see what is happening. DO NOT USE THIS TOOL! Let me repeat that this Makefile can, if invoked with seemingly reasonable arguments, invoke sudo to remove your entire /usr/local directory tree. For those unfamiliar with UNIX-like systems, /usr/local is a common place to install third-party software. This Makefile can delete that entire directory tree using root (administrative) privileges. It can seriously damage your system. (I have not directly confirmed that it does this, but I'll take Steve's word for it.) No installation script should delete files and directories that are unrelated to the thing being installed or uninstalled. https://github.com/steve-cs/gnat-builder/issues/11 -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */