From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!2.eu.feeder.erje.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 09 Aug 2020 10:59:37 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Running ADA on Beaglebone Black Date: Sun, 09 Aug 2020 11:59:37 -0400 Organization: IISS Elusive Unicorn Message-ID: <0260jf9v7inqprltqspdhrnlcbdlgm65c3@4ax.com> References: <1ff23e0f-6c44-44fe-89bd-ca4d716822fco@googlegroups.com> User-Agent: ForteAgent/8.00.32.1272 X-No-Archive: YES MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-0ArpCfiIZHN9+r68ZXnyrR9QaXCJknJ9bakxEG5IP894CLdLgz0KbqX5cJXzWLLvSVKx9OVLZt8Rrq6!Ade3srk6J8PH1KhCLCMKlzN2VdKXD3s+7dcBz66jeq4vLO+2yzKnzlGP+4tbwSg98FgjzGjg X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4861 Xref: reader01.eternal-september.org comp.lang.ada:59689 List-Id: On Sun, 9 Aug 2020 07:39:58 -0700 (PDT), Ricardo Brandão declaimed the following: FYI: "ADA" (all caps) is NOT a programming language -- "Ada" is a proper name (from Ada Lovelace -- I can never recall if it's Ada Augusta or Augusta Ada). All caps is, among others "American Dental Association". >I've just acquired a Beaglebone black and I'm trying to run a simple program in Ada. > >I tried to install gnat but apt-get install gnat or anything similar doesn't work. What did they display? You did have a network connection at the time? (The USB connection is not suitable unless the host computer is configured for "Internet Connection Sharing" or the equivalent). Had you run "apt update" first? >I didn't find any place with the repository, nor any tutorial. debian@beaglebone:~$ apt search gnat Sorting... Done Full Text Search... Done gnat/stable,now 8.0.1 all [installed] GNU Ada compiler gnat-7/stable 7.4.0-6 armhf GNU Ada compiler gnat-7-sjlj/stable 7.4.0-6 armhf GNU Ada compiler (setjump/longjump runtime library) gnat-8/stable,now 8.3.0-6 armhf [installed,automatic] GNU Ada compiler gnat-8-sjlj/stable 8.3.0-6 armhf GNU Ada compiler (setjump/longjump runtime library) gnat-gps-common/stable 18-5 all integrated development environment for C and Ada (common files) gnat-gps-doc/stable 18-5 all integrated development environment for C and Ada (documentation) gnat-mingw-w64/stable 8.3.0-6+21.3~deb10u1 all GNU Ada compiler for MinGW-w64 libgnat-7/stable 7.4.0-6 armhf runtime for applications compiled with GNAT (shared library) libgnat-7-dbg/stable 7.4.0-6 armhf runtime for applications compiled with GNAT (debugging symbols) libgnat-8/stable,now 8.3.0-6 armhf [installed,automatic] runtime for applications compiled with GNAT (shared library) libgnat-8-alpha-cross/stable 8.3.0-2cross2 all runtime for applications compiled with GNAT (shared library) libgnatcoll-doc/stable 18-4 all GNATColl, general purpose Ada library (documentation) libgnatcoll-gmp17-dev/stable 18-2 armhf GNATColl, general purpose Ada library (GMP) libgnatcoll-gmp18/stable 18-2 armhf GNATColl, general purpose Ada library (GMP runtime) libgnatcoll-iconv17-dev/stable 18-2 armhf GNATColl, general purpose Ada library (iconv) libgnatcoll-iconv18/stable 18-2 armhf GNATColl, general purpose Ada library (iconv runtime) libgpr18/stable 2018-6 armhf support for programs processing GNAT projects (runtime) libgpr2-dev/stable 2018-6 armhf support for programs processing GNAT projects (development) debian@beaglebone:~$ >How it the best way to run Ada in the BBB? > Based upon what I show sudo apt install gnat OR sudo apt install gnat-8 should suffice. You will NOT have access to the GPS graphical IDE, unless you also install a working X-window stack -- current standard Beaglebone images tend to be "IoT"; putting X-Window on the eMMC leaves practically no space for doing anything -- and even "apt upgrade" may fail due to lack of space if it has been some time since the image had been made. debian@beaglebone:~$ apt search gps Sorting... Done Full Text Search... Done gnat-gps-common/stable 18-5 all integrated development environment for C and Ada (common files) gnat-gps-doc/stable 18-5 all integrated development environment for C and Ada (documentation) debian@beaglebone:~$ -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/