Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Machines that have broken down will work perfectly when the repairman arrives.


devel / comp.lang.ada / Re: A new universe of Ada

SubjectAuthor
* A new universe of AdaRick Duley
+* Re: A new universe of AdaDmitry A. Kazakov
|+- Re: A new universe of AdaRick Duley
|+* Re: A new universe of AdaRick Duley
||+* Re: A new universe of AdaDmitry A. Kazakov
|||`* Re: A new universe of AdaStephen Leake
||| +* Re: A new universe of AdaDmitry A. Kazakov
||| |`- Re: A new universe of AdaGautier write-only address
||| `- Re: A new universe of AdaG.B.
||`- Re: A new universe of AdaSimon Wright
|+* Re: A new universe of AdaSimon Wright
||`* Re: A new universe of AdaDmitry A. Kazakov
|| `* Re: A new universe of AdaRick Duley
||  `* Re: A new universe of AdaDmitry A. Kazakov
||   +- Re: A new universe of AdaRick Duley
||   `* Re: A new universe of AdaRick Duley
||    +- Re: A new universe of AdaDmitry A. Kazakov
||    +* Re: A new universe of AdaJ-P. Rosen
||    |`- Re: A new universe of AdaRick Duley
||    `- Re: A new universe of AdaBjörn Lundin
|`- Re: A new universe of AdaStephen Leake
+- Re: A new universe of AdaG.B.
+* Re: A new universe of AdaJeffrey R.Carter
|`* Re: A new universe of AdaRick Duley
| `* Re: A new universe of AdaJeffrey R.Carter
|  +* Re: A new universe of AdaMaxim Reznik
|  |`* Re: A new universe of AdaKevin Chadwick
|  | +- Re: A new universe of AdaRene
|  | `* Re: A new universe of AdaRoger Mc
|  |  +- Re: A new universe of AdaRoger Mc
|  |  `* Re: A new universe of AdaSimon Wright
|  |   `* Re: A new universe of AdaRoger Mc
|  |    `* Re: A new universe of AdaSimon Wright
|  |     `* Re: A new universe of AdaRoger Mc
|  |      `- Re: A new universe of AdaRoger Mc
|  `- Re: A new universe of AdaStephen Leake
`- Re: A new universe of AdaMarius Amado-Alves

Pages:12
Re: A new universe of Ada

<ly5yh829io.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8853&group=comp.lang.ada#8853

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!Yr2L9qaRshuL+yFKTxsDBA.user.46.165.242.75.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Tue, 27 Sep 2022 15:10:23 +0100
Organization: Aioe.org NNTP Server
Message-ID: <ly5yh829io.fsf@pushface.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me>
<0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me>
<f96be9ec-4cbf-4f94-9103-ad91e98df71en@googlegroups.com>
<e95789e1-f4c7-4548-be6e-b387f20c8d2en@googlegroups.com>
<b86de451-cbdd-4868-9a94-1cac31d3bc3fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="769"; posting-host="Yr2L9qaRshuL+yFKTxsDBA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:36w0tJya6ZIU/g6XmbGau/lxfpM=
 by: Simon Wright - Tue, 27 Sep 2022 14:10 UTC

Roger Mc <rogermcm2@gmail.com> writes:

> On Monday, September 26, 2022 at 11:23:35 PM UTC+10, kevc...@gmail.com wrote:
>> You can get a hello world open in gnat studio
>> with two? commands though.
>>
>> "https://alire.ada.dev/docs/#first-steps"
> Following the "first-steps", progress succeeded up to
> gnat_native=11.2.4 installed successfully but then failure:
> dyld: lazy symbol binding failed: Symbol not found:
> ___darwin_check_fd_set_overflow
> Any ideas on how to fix this:
> Thanks,
> Roger

I tried this on my mid-2012 Macbook Pro running 10.11.6 (El Capitan),
the problem arises when running gprconfig (all the Alire-provided
releases were built against a later Xcode (Google suggests 11.4 or
later??) which does provide this symbol). I dare say it'd happen running
the compiler too.

Only suggestion: install one of my builds, set it on your PATH, run alr
toolchain --select & choose the 'gnat_external' line for the
compiler. Alire then chooses a compatible gprbuild.

11.2.0 at Github:
https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-11.2.0-native

Or 12.1.0 from Github:
https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64

Re: A new universe of Ada

<tgv6tk$3i4b$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8855&group=comp.lang.ada#8855

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bnl@nowhere.com (Björn Lundin)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Tue, 27 Sep 2022 18:04:04 +0200
Organization: A noiseless patient Spider
Lines: 46
Message-ID: <tgv6tk$3i4b$1@dont-email.me>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org> <lyilla1toj.fsf@pushface.org>
<tgrlb6$16qs$1@gioia.aioe.org>
<8d3a421a-4aff-4259-8eec-9b4219b270e6n@googlegroups.com>
<tgrqlc$1ldh$1@gioia.aioe.org>
<78a9305e-4f30-4948-a6b1-1097b02655d8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 27 Sep 2022 16:04:04 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e0d6fdaa593df08fa984a002744dd76b";
logging-data="116875"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19w/UZLrGAt5j2FbSeLnaa6"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Cancel-Lock: sha1:WDho+t7rQLm8JJ9/wZq+hlQU7uk=
In-Reply-To: <78a9305e-4f30-4948-a6b1-1097b02655d8n@googlegroups.com>
Content-Language: en-US
 by: Björn Lundin - Tue, 27 Sep 2022 16:04 UTC

On 2022-09-27 04:35, Rick Duley wrote:
> For myself, I have two more questions:
> 1. Do I have to create a new project for every mainline I write?

no. depending scenarion (env-var) I build a different set of exes

I got this i a project of mine (50+ executables)

System_Mains := ("rpc_tracker.adb",
...
...
"poll.adb",
"login_handler.adb"
);

Stat_Mains := (
"create_cache.adb",
...
...
"lay_and_back_after_progress.adb"
);

Display_Mains := ("race_time.adb");

Other_Mains := ( "markets_sender.adb",
...
...
"price_to_tics.adb" );

Test_Programs := (); --("test_string_object.adb");

case Bot_Machine_Role is
when "PROD" => for Main use System_Mains;
when "TEST" => for Main use System_Mains;
when "SIM" => for Main use System_Mains &
Stat_Mains &
Other_Mains &
Test_Programs;
when "DISPLAY" => for Main use Display_Mains;
when "LONGPOLL" => for Main use System_Mains;
end case;

--
/Björn

Re: A new universe of Ada

<fe0b16eb-837b-4e36-aacc-ca6c246b0e04n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8856&group=comp.lang.ada#8856

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:5e49:0:b0:35b:b456:7261 with SMTP id i9-20020ac85e49000000b0035bb4567261mr23874453qtx.490.1664298584783;
Tue, 27 Sep 2022 10:09:44 -0700 (PDT)
X-Received: by 2002:a05:622a:107:b0:35d:4cfe:5b34 with SMTP id
u7-20020a05622a010700b0035d4cfe5b34mr3045921qtw.388.1664298584545; Tue, 27
Sep 2022 10:09:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Tue, 27 Sep 2022 10:09:44 -0700 (PDT)
In-Reply-To: <ly5yh829io.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=219.90.170.152; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 219.90.170.152
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me> <0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me> <f96be9ec-4cbf-4f94-9103-ad91e98df71en@googlegroups.com>
<e95789e1-f4c7-4548-be6e-b387f20c8d2en@googlegroups.com> <b86de451-cbdd-4868-9a94-1cac31d3bc3fn@googlegroups.com>
<ly5yh829io.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fe0b16eb-837b-4e36-aacc-ca6c246b0e04n@googlegroups.com>
Subject: Re: A new universe of Ada
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Tue, 27 Sep 2022 17:09:44 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2974
 by: Roger Mc - Tue, 27 Sep 2022 17:09 UTC

On Wednesday, September 28, 2022 at 12:10:32 AM UTC+10, Simon Wright wrote:
> Roger Mc <roge...@gmail.com> writes:
>
> > On Monday, September 26, 2022 at 11:23:35 PM UTC+10, kevc...@gmail.com wrote:
> >> You can get a hello world open in gnat studio
> >> with two? commands though.
> >>
> >> "https://alire.ada.dev/docs/#first-steps"
> > Following the "first-steps", progress succeeded up to
> > gnat_native=11.2.4 installed successfully but then failure:
> > dyld: lazy symbol binding failed: Symbol not found:
> > ___darwin_check_fd_set_overflow
> > Any ideas on how to fix this:
> > Thanks,
> > Roger
> I tried this on my mid-2012 Macbook Pro running 10.11.6 (El Capitan),
> the problem arises when running gprconfig (all the Alire-provided
> releases were built against a later Xcode (Google suggests 11.4 or
> later??) which does provide this symbol). I dare say it'd happen running
> the compiler too.
>
> Only suggestion: install one of my builds, set it on your PATH, run alr
> toolchain --select & choose the 'gnat_external' line for the
> compiler. Alire then chooses a compatible gprbuild.
>
> 11.2.0 at Github:
> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-11.2.0-native
>
> Or 12.1.0 from Github:
> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64

Thanks Simon
I cloned 12.1.0 from Github then tried .doinstall in the native directory.
It gets to Do you want to proceed with installation but when I respond with Y nothing happens.

Re: A new universe of Ada

<lywn9ozhqy.fsf@pushface.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8857&group=comp.lang.ada#8857

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!Yr2L9qaRshuL+yFKTxsDBA.user.46.165.242.75.POSTED!not-for-mail
From: simon@pushface.org (Simon Wright)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Tue, 27 Sep 2022 21:26:13 +0100
Organization: Aioe.org NNTP Server
Message-ID: <lywn9ozhqy.fsf@pushface.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me>
<0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me>
<f96be9ec-4cbf-4f94-9103-ad91e98df71en@googlegroups.com>
<e95789e1-f4c7-4548-be6e-b387f20c8d2en@googlegroups.com>
<b86de451-cbdd-4868-9a94-1cac31d3bc3fn@googlegroups.com>
<ly5yh829io.fsf@pushface.org>
<fe0b16eb-837b-4e36-aacc-ca6c246b0e04n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="11456"; posting-host="Yr2L9qaRshuL+yFKTxsDBA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:U9lcUgLX/6OQ/fcKlEzxOX7N7dI=
 by: Simon Wright - Tue, 27 Sep 2022 20:26 UTC

Roger Mc <rogermcm2@gmail.com> writes:

>> Only suggestion: install one of my builds, set it on your PATH, run alr
>> toolchain --select & choose the 'gnat_external' line for the
>> compiler. Alire then chooses a compatible gprbuild.
>>
>> 11.2.0 at Github:
>> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-11.2.0-native
>>
>> Or 12.1.0 from Github:
>> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64
>
> Thanks Simon
> I cloned 12.1.0 from Github then tried .doinstall in the native directory.
> It gets to Do you want to proceed with installation but when I respond
> with Y nothing happens.

I don't understand what you've done, at all. "cloned"? ".doinstall"?
"native directory"?

I see that the README at the link above (in fact like most of my
READMEs) might be thought to be less than clear; perhaps the very first
thing should be the Install section. It says

Download the binary .pkg. It's not signed, so don't double-click on
it; instead, right-click on it and Open. Accept the warning. You will
be guided through the installation.

It should also say that "the binary .pkg" is to be found by scrolling to
the bottom of the page.

Re: A new universe of Ada

<a8db1433-4cea-4260-bb7b-1b5a5d26c538n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8860&group=comp.lang.ada#8860

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ad4:4eae:0:b0:4af:9a04:ae3d with SMTP id ed14-20020ad44eae000000b004af9a04ae3dmr1781790qvb.49.1664367272345;
Wed, 28 Sep 2022 05:14:32 -0700 (PDT)
X-Received: by 2002:ac8:7e95:0:b0:35c:cd2c:c74c with SMTP id
w21-20020ac87e95000000b0035ccd2cc74cmr26039390qtj.524.1664367272098; Wed, 28
Sep 2022 05:14:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Sep 2022 05:14:31 -0700 (PDT)
In-Reply-To: <lywn9ozhqy.fsf@pushface.org>
Injection-Info: google-groups.googlegroups.com; posting-host=106.69.208.23; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 106.69.208.23
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me> <0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me> <f96be9ec-4cbf-4f94-9103-ad91e98df71en@googlegroups.com>
<e95789e1-f4c7-4548-be6e-b387f20c8d2en@googlegroups.com> <b86de451-cbdd-4868-9a94-1cac31d3bc3fn@googlegroups.com>
<ly5yh829io.fsf@pushface.org> <fe0b16eb-837b-4e36-aacc-ca6c246b0e04n@googlegroups.com>
<lywn9ozhqy.fsf@pushface.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a8db1433-4cea-4260-bb7b-1b5a5d26c538n@googlegroups.com>
Subject: Re: A new universe of Ada
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Wed, 28 Sep 2022 12:14:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3176
 by: Roger Mc - Wed, 28 Sep 2022 12:14 UTC

On Wednesday, September 28, 2022 at 6:26:40 AM UTC+10, Simon Wright wrote:
> Roger Mc <roge...@gmail.com> writes:
>
> >> Only suggestion: install one of my builds, set it on your PATH, run alr
> >> toolchain --select & choose the 'gnat_external' line for the
> >> compiler. Alire then chooses a compatible gprbuild.
> >>
> >> 11.2.0 at Github:
> >> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-11.2.0-native
> >>
> >> Or 12.1.0 from Github:
> >> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64
> >
> > Thanks Simon
> > I cloned 12.1.0 from Github then tried .doinstall in the native directory.
> > It gets to Do you want to proceed with installation but when I respond
> > with Y nothing happens.
> I don't understand what you've done, at all. "cloned"? ".doinstall"?
> "native directory"?
>
> I see that the README at the link above (in fact like most of my
> READMEs) might be thought to be less than clear; perhaps the very first
> thing should be the Install section. It says
>
> Download the binary .pkg. It's not signed, so don't double-click on
> it; instead, right-click on it and Open. Accept the warning. You will
> be guided through the installation.
>
> It should also say that "the binary .pkg" is to be found by scrolling to
> the bottom of the page.
Many thanks, much appreciated
I confused the issue as I'm only used to downloading programs from git's " code" page.
I had no problems following your instructions above which resulted in an easy installation.
I'm currently using the 2019 version of gps for development but am investigating alr.

Re: A new universe of Ada

<dd2aea26-2163-425c-a3fe-dd343780e59bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8861&group=comp.lang.ada#8861

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:a05:6214:27e9:b0:4aa:9ff0:e8de with SMTP id jt9-20020a05621427e900b004aa9ff0e8demr25418429qvb.99.1664369674489;
Wed, 28 Sep 2022 05:54:34 -0700 (PDT)
X-Received: by 2002:a05:6214:4108:b0:4ac:b91b:5afd with SMTP id
kc8-20020a056214410800b004acb91b5afdmr25575410qvb.49.1664369673893; Wed, 28
Sep 2022 05:54:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Sep 2022 05:54:33 -0700 (PDT)
In-Reply-To: <a8db1433-4cea-4260-bb7b-1b5a5d26c538n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=106.69.208.23; posting-account=d51RWwoAAADvR-x0zYAtT9z3CRxT1eXo
NNTP-Posting-Host: 106.69.208.23
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me> <0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me> <f96be9ec-4cbf-4f94-9103-ad91e98df71en@googlegroups.com>
<e95789e1-f4c7-4548-be6e-b387f20c8d2en@googlegroups.com> <b86de451-cbdd-4868-9a94-1cac31d3bc3fn@googlegroups.com>
<ly5yh829io.fsf@pushface.org> <fe0b16eb-837b-4e36-aacc-ca6c246b0e04n@googlegroups.com>
<lywn9ozhqy.fsf@pushface.org> <a8db1433-4cea-4260-bb7b-1b5a5d26c538n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dd2aea26-2163-425c-a3fe-dd343780e59bn@googlegroups.com>
Subject: Re: A new universe of Ada
From: rogermcm2@gmail.com (Roger Mc)
Injection-Date: Wed, 28 Sep 2022 12:54:34 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3502
 by: Roger Mc - Wed, 28 Sep 2022 12:54 UTC

On Wednesday, September 28, 2022 at 10:14:33 PM UTC+10, Roger Mc wrote:
> On Wednesday, September 28, 2022 at 6:26:40 AM UTC+10, Simon Wright wrote:
> > Roger Mc <roge...@gmail.com> writes:
> >
> > >> Only suggestion: install one of my builds, set it on your PATH, run alr
> > >> toolchain --select & choose the 'gnat_external' line for the
> > >> compiler. Alire then chooses a compatible gprbuild.
> > >>
> > >> 11.2.0 at Github:
> > >> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-11.2.0-native
> > >>
> > >> Or 12.1.0 from Github:
> > >> https://github.com/simonjwright/distributing-gcc/releases/tag/gcc-12.1.0-x86_64
> > >
> > > Thanks Simon
> > > I cloned 12.1.0 from Github then tried .doinstall in the native directory.
> > > It gets to Do you want to proceed with installation but when I respond
> > > with Y nothing happens.
> > I don't understand what you've done, at all. "cloned"? ".doinstall"?
> > "native directory"?
> >
> > I see that the README at the link above (in fact like most of my
> > READMEs) might be thought to be less than clear; perhaps the very first
> > thing should be the Install section. It says
> >
> > Download the binary .pkg. It's not signed, so don't double-click on
> > it; instead, right-click on it and Open. Accept the warning. You will
> > be guided through the installation.
> >
> > It should also say that "the binary .pkg" is to be found by scrolling to
> > the bottom of the page.
> Many thanks, much appreciated
> I confused the issue as I'm only used to downloading programs from git's " code" page.
> I had no problems following your instructions above which resulted in an easy installation.
> I'm currently using the 2019 version of gps for development but am investigating alr.

I successfully built one of my projects with alr.
Is it possible to use gps with alr?

Re: A new universe of Ada

<86v8p7iehv.fsf@stephe-leake.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8862&group=comp.lang.ada#8862

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!gy7opw3oYmwPg+L8gXeD2w.user.46.165.242.75.POSTED!not-for-mail
From: stephen_leake@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Wed, 28 Sep 2022 10:40:44 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86v8p7iehv.fsf@stephe-leake.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="57269"; posting-host="gy7opw3oYmwPg+L8gXeD2w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:1w2AlDRvq3EUDvbijp6JgXarCG4=
 by: Stephen Leake - Wed, 28 Sep 2022 17:40 UTC

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> On 2022-09-26 08:20, Rick Duley wrote:
>
>> I have Gnat Studio but I can't do anything at all unless I create a
>> Project (whatever that is). Even then, I can't write and run
>> Hello_World unless I call it Main. The concept of an IDE where I can
>> step through a program checking changes in variable values as I go
>> seems to have vanished.
>
> That concept is called debugger. GDB for GCC (GNAT Ada is based in
> GDB). GDB never ever really worked except for little exercises. It
> still does not. So, forget about it.

Dmitry is an extreme pessimist about gdb; apparently he has had bad
experience with it.

On the other hand, I used GNAT with gdb for many years at NASA,
maintaining a spacecraft simulator; I never had a problem with gdb.

>> In short, I am lost and I can't find any material to help me find my
way.

There is a tutorial in the GNAT Studio Help menu, somewhere. I haven't
looked at it for years, I don't know if it covers debugging.

AdaCore has extensive resources for learning; see
https://learn.adacore.com/

--
-- Stephe

Re: A new universe of Ada

<86r0zvicay.fsf@stephe-leake.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8863&group=comp.lang.ada#8863

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!gy7opw3oYmwPg+L8gXeD2w.user.46.165.242.75.POSTED!not-for-mail
From: stephen_leake@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Wed, 28 Sep 2022 11:28:05 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86r0zvicay.fsf@stephe-leake.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org>
<41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com>
<tgrl2q$1330$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="33868"; posting-host="gy7opw3oYmwPg+L8gXeD2w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt)
Cancel-Lock: sha1:adkSC9m581NXmF9PvGJlkTmAgW0=
X-Notice: Filtered by postfilter v. 0.9.2
 by: Stephen Leake - Wed, 28 Sep 2022 18:28 UTC

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:

> On 2022-09-26 09:11, Rick Duley wrote:
>> You missed the point, Dmitry. Showing me the code for Hello_World
>> does not show me how to create the program using Gnat Studio.
>
> Hmm, programs are created by typing them in an editor...

Gnat Studio is an IDE, not just an Editor.

>> Firstly, I do not understand the concept of a _Project_.
>
> Project is an executable or shared/static library.

It is much more than that.

In technical terms, for GNAT Studio a "Project" is defined by a gnat
project file. In turn, that project file defines the list of source
directories, where to store object and executable files, the
compilation options for release and debug builds, and a few other
things.

GNAT Studio can create and edit project files for you. When you get to
more complex projects, you will want to edit them directly.

There are tutorials on using gnat studio, including debugging, at
https://www.adacore.com/gnatpro/toolsuite/gnatstudio (I found them by
searching for "GNAT Studio").

>> Until a couple of days ago I had never heard the term in reference to Ada Programming.
>
> It always existed. E.g. Ada 83 Reference Manual called it "the program
> library". See ARM 83 (10.4)

Which is literally not "project", although it is a similar concept.

"Project" is now a common term in many software tools.

>> Secondly, I can write Hello_World.adb and have it included in my
>> 'Project', I can even build it, but the only thing that will run is
>> _Main_.
>
> No, I provided the project file where the main procedure is called
> Hello_World.
>
>> I cannot find any documentation about Studio which explains
>> something as simple as the creation of Hello_World.exe. Can you do
>> that in Studio or is it purely ornamental?

Here are the steps I used to create "hello world" in Gnat Studio:

- Start gnat studio from the command line.

- If you have no previous projects, it starts a wizard that offers to
create new project from a template. You get the same wizard by selecting
File | New Project from the main GNAT Studio interface. In the wizard,
choose Basic | Simple Ada Project.

- Select a directory to hold the project files (GNAT Studio calls it
"deploy"); I created a new directory named "hello_world".

- change the project name from "default" to "Hello_World" (it must be a
valid Ada identifier).

- Change the Main Name from "main" to "hello_world". (this is the
crucial step you have been asking for).

- Now you are in the main GNAT Studio interface. Note that it has
created the "src" and "obj" directories, and src/hello_world.adb for
you. Every IDE (except Emacs :) has a default notion of the "proper"
layout for directories; some let you change that default (I don't know
if GNAT Studio does). Some build systems tolerate other directory
structures; GNAT Studio does as long as the corresponding changes are
made in the project file.

- Edit hello_world.adb to do Put_Line ("Hello_World");

- From the menu, select Build | Run | "Run main"

The project is compiled, and the program is run. However, I don't see
the output from the program in the Messages window.

And running the exectable (which is hello_word/obj/hello_world) does not
produce any output.

Ah; I just saw Dmitry's hint about Debug | Initialize. Doing that starts
the gdb interface in GNAT Stdio. Clicking the "Run" button (which looks
like a media player "play" button) runs the program, which prints Hello
World in the debugger console. Success!

I'm guessing running the executable from the command line failed because
some library was not found; GNAT Studio must set up the library search
paths.

Apparently it was compiled without debug options. But in Edit | Project
Properties, I don't see anything about Debug. And there's no way to
search for a property; does anyone know where that is?

--
-- Stephe

Re: A new universe of Ada

<86mtajic13.fsf@stephe-leake.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8864&group=comp.lang.ada#8864

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!gy7opw3oYmwPg+L8gXeD2w.user.46.165.242.75.POSTED!not-for-mail
From: stephen_leake@stephe-leake.org (Stephen Leake)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Wed, 28 Sep 2022 11:34:00 -0700
Organization: Aioe.org NNTP Server
Message-ID: <86mtajic13.fsf@stephe-leake.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrrf3$3n33m$1@dont-email.me>
<0a74d16b-dc46-48c7-8a8f-171964674300n@googlegroups.com>
<tgrrtk$3n3sf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: gioia.aioe.org; logging-data="38720"; posting-host="gy7opw3oYmwPg+L8gXeD2w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt)
X-Notice: Filtered by postfilter v. 0.9.2
Cancel-Lock: sha1:9U1KloYc6x/p0Q/XR1meBuPSL3c=
 by: Stephen Leake - Wed, 28 Sep 2022 18:34 UTC

"Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not> writes:

> On 2022-09-26 11:34, Rick Duley wrote:
>> On Monday, September 26, 2022 at 5:30:14 PM UTC+8, Jeffrey R.Carter wrote:
>>>
>>> You can start GNAT Studio with a "default project". This lets you use it as an LSE.
>> What is an LSE?
>
> Sorry: Language-Sensitive Editor

LSE was the name of the fancy editor made by Digital Equipment
Corporation back when I was first learning Ada :). The editor supports
"templates" that know the language syntax; you can type i f C-e, and it
expands to "if {expression} then {statments} [else {statments}] end if;"
and each of the {} [] can be similarly expanded.

I don't know if GNAT Studio supports such templates. In Emacs they are
called "skeletons".

A better term for GNAT Studio these days is IDE (Integrated Development
Environment); it has many more features than knowing the language syntax.

--
-- Stephe

Re: A new universe of Ada

<th29jc$1jbg$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8865&group=comp.lang.ada#8865

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!aioe.org!epJzlJsZWlp1WuFmYLlBpQ.user.46.165.242.91.POSTED!not-for-mail
From: mailbox@dmitry-kazakov.de (Dmitry A. Kazakov)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Wed, 28 Sep 2022 22:08:13 +0200
Organization: Aioe.org NNTP Server
Message-ID: <th29jc$1jbg$1@gioia.aioe.org>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org>
<41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com>
<tgrl2q$1330$1@gioia.aioe.org> <86r0zvicay.fsf@stephe-leake.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="52592"; posting-host="epJzlJsZWlp1WuFmYLlBpQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Dmitry A. Kazakov - Wed, 28 Sep 2022 20:08 UTC

On 2022-09-28 20:28, Stephen Leake wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>
>> On 2022-09-26 09:11, Rick Duley wrote:

>>> Until a couple of days ago I had never heard the term in reference to Ada Programming.
>>
>> It always existed. E.g. Ada 83 Reference Manual called it "the program
>> library". See ARM 83 (10.4)
>
> Which is literally not "project", although it is a similar concept.
>
> "Project" is now a common term in many software tools.

Back in late 90's ObjecAda had projects. The project file had extension
literally *.prj.

The first GNAT IDE AdaGIDE also had projects and called them so. AdaGIDE
project file was *.ago.

I do not remember what DEC Ada used for the library. I remember that
Pallada Ada had some sort of project, but early Meridian Ada did not.
But that was before the dinosaurs... (:-))

--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

Re: A new universe of Ada

<0a83c17c-4e60-4d0c-ad66-9462211daf7cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8868&group=comp.lang.ada#8868

  copy link   Newsgroups: comp.lang.ada
X-Received: by 2002:ac8:7d51:0:b0:35c:e38e:3bb with SMTP id h17-20020ac87d51000000b0035ce38e03bbmr374732qtb.279.1664411484529;
Wed, 28 Sep 2022 17:31:24 -0700 (PDT)
X-Received: by 2002:ad4:5def:0:b0:4ac:b5b9:333 with SMTP id
jn15-20020ad45def000000b004acb5b90333mr580934qvb.121.1664411484394; Wed, 28
Sep 2022 17:31:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.ada
Date: Wed, 28 Sep 2022 17:31:24 -0700 (PDT)
In-Reply-To: <th29jc$1jbg$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:1210:282b:1d00:8934:8947:c6cf:4226;
posting-account=gRqrnQkAAAAC_02ynnhqGk1VRQlve6ZG
NNTP-Posting-Host: 2a02:1210:282b:1d00:8934:8947:c6cf:4226
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org> <41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com>
<tgrl2q$1330$1@gioia.aioe.org> <86r0zvicay.fsf@stephe-leake.org> <th29jc$1jbg$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0a83c17c-4e60-4d0c-ad66-9462211daf7cn@googlegroups.com>
Subject: Re: A new universe of Ada
From: gautier_niouzes@hotmail.com (Gautier write-only address)
Injection-Date: Thu, 29 Sep 2022 00:31:24 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 2
 by: Gautier write-only a - Thu, 29 Sep 2022 00:31 UTC

On Wednesday, September 28, 2022 at 10:08:23 PM UTC+2, Dmitry A. Kazakov wrote:
> Back in late 90's ObjecAda had projects. The project file had extension literally *.prj.
....and still has, by the way :-).

Re: A new universe of Ada

<th3mbb$khg7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=8870&group=comp.lang.ada#8870

  copy link   Newsgroups: comp.lang.ada
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: bauhaus@notmyhomepage.invalid (G.B.)
Newsgroups: comp.lang.ada
Subject: Re: A new universe of Ada
Date: Thu, 29 Sep 2022 10:51:54 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <th3mbb$khg7$1@dont-email.me>
References: <ab7f8f51-df86-4c46-8a14-cf90667f987fn@googlegroups.com>
<tgrhpp$1mrq$1@gioia.aioe.org>
<41ea7a4d-5c01-458d-98c3-1d671805b88fn@googlegroups.com>
<tgrl2q$1330$1@gioia.aioe.org> <86r0zvicay.fsf@stephe-leake.org>
Reply-To: nonlegitur@notmyhomepage.de
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 29 Sep 2022 08:51:55 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="639633a40ba16289db6a5dff318f5b67";
logging-data="673287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19wAWZIiL/Un/spom4H3mAOyLpNj3c4Syk="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.13.1
Cancel-Lock: sha1:ax66fR2Ry5LhTskK8R80OFSQ1cY=
In-Reply-To: <86r0zvicay.fsf@stephe-leake.org>
Content-Language: en-US
 by: G.B. - Thu, 29 Sep 2022 08:51 UTC

On 28.09.22 20:28, Stephen Leake wrote:

>>> Until a couple of days ago I had never heard the term in reference to Ada Programming.
>>
>> It always existed. E.g. Ada 83 Reference Manual called it "the program
>> library". See ARM 83 (10.4)
>
> Which is literally not "project", although it is a similar concept.

Just as you say, a project can be more than a library
(of library_items, LRM 10), but I think one can order the concepts
library and project.
A project typically uses a library from which it then picks units
to be compiled, looked up, referred to, linked...

A statement taken from the docs of a Compiler (Sofcheck)
that is also used by ObjectAda reads

"The Ada program library contains all information needed
to support the separate compilation requirements of Ada."


devel / comp.lang.ada / Re: A new universe of Ada

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor