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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.51.15.132 with SMTP id fo4mr1783021igd.0.1420614274708; Tue, 06 Jan 2015 23:04:34 -0800 (PST) X-Received: by 10.140.97.4 with SMTP id l4mr36048qge.14.1420614274567; Tue, 06 Jan 2015 23:04:34 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!h15no274318igd.0!news-out.google.com!n9ni1qai.0!nntp.google.com!dc16no74958qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 6 Jan 2015 23:04:34 -0800 (PST) In-Reply-To: <81Kqw.1118533$412.927003@fx30.iad> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=209.6.147.89; posting-account=VJwTTQoAAABKqOMAgvkZcRCnb3dmjtF- NNTP-Posting-Host: 209.6.147.89 References: <81Kqw.1118533$412.927003@fx30.iad> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: experienced unix guy on freebsd 10.1 vs ada hello world From: johannes falcone Injection-Date: Wed, 07 Jan 2015 07:04:34 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:24433 Date: 2015-01-06T23:04:34-08:00 List-Id: On Monday, January 5, 2015 9:04:05 PM UTC-8, Shark8 wrote: > On 05-Jan-15 21:20, johannes falcone wrote: > > guys I used the docs on http://www.getadanow.com/#get_freebsd and a > > nice gui opened for development, but I am a vi and ed user... > > > > Can't get hello world to compile... > > > > help > > > > Hm, I'm going to guess that's GPS (GNAT Programming Studio) -- there > should be a menu item up-top titled "projects". Under that there should > be an item titled "Edit Project Properties" which should bring up a > dialog-box with tabs along the side, click the one labeled "Main Files". > > On the "Main Files" tab-page, there should be a button with a big > plus-sign labeled "Add". Click it, a new dialog box should come up > containing a list w/ associated files, check the file that your "hello > world" resides in and then click ok. > > (At this point you should see your file in the "main files" list-box of > the tab-page.)^1 Having returned to the tab-page, click ok. -- Now, I > don't know if you *need* to do it but I have the compulsive habit of > going to (1) "Project", "Save All"; then (2) "Project", "Reload Project". > > Now there should be some Icons up top, one a hammer outline on a box > (that's the build icon) and a right-pointing "Play" triangle (the run > icon). -- Click the build icon, if the "messages" pane says something > like: "[2015-01-05 21:55:58] process terminated successfully, elapsed > time: 05.50s"^2 you're good to go, just click the "run" button. > > 1 -- There's a restriction on what can be "main files", a parameterless > procedure, or a parameterless function returning an integer. (Sorry, I > can't seem to find the documentation for this; the first form is the > most used and definitely works.) > 2 -- If there's a compile error it should tell you what it is; most of > the compilers are decent to pretty good, though sometimes you have to > get used to the Ada terminology. gnatmake not found I tried installing gnatcoll and still same error after restarting everything.