comp.lang.ada
 help / color / mirror / Atom feed
From: Rick Duley <rickduley@gmail.com>
Subject: Re: A new universe of Ada
Date: Mon, 26 Sep 2022 00:00:13 -0700 (PDT)	[thread overview]
Message-ID: <1d096812-95f3-4c93-80a7-59939faa816cn@googlegroups.com> (raw)
In-Reply-To: <tgrhpp$1mrq$1@gioia.aioe.org>

On Monday, September 26, 2022 at 2:45:16 PM UTC+8, Dmitry A. Kazakov wrote:
> 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.
> > In short, I am lost and I can't find any material to help me find my way.
> The project file is 3-liner: 
> ----------------hello_world.gpr-----> 
> project Hello_World is 
> for Main use ("hello_world.adb"); 
> end Hello_World; 
> <------------------------------------ 
> 
> No, you do not need main to be Main: 
> 
> ---hello_world.adb-----------------> 
> with Ada.Text_IO; use Ada.Text_IO; 
> procedure Hello_World is 
> begin 
> Put_Line ("Hello world!"); 
> end Hello_World; 
> <---------------------------------- 
> 
> You still can compile and build without projects. But projects are much 
> more comfortable. 
> 
> -- 
> Regards, 
> Dmitry A. Kazakov 
> http://www.dmitry-kazakov.de

  reply	other threads:[~2022-09-26  7:00 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26  6:20 A new universe of Ada Rick Duley
2022-09-26  6:45 ` Dmitry A. Kazakov
2022-09-26  7:00   ` Rick Duley [this message]
2022-09-26  7:11   ` Rick Duley
2022-09-26  7:41     ` Dmitry A. Kazakov
2022-09-28 18:28       ` Stephen Leake
2022-09-28 20:08         ` Dmitry A. Kazakov
2022-09-29  0:31           ` Gautier write-only address
2022-09-29  8:51         ` G.B.
2022-09-26  8:17     ` Simon Wright
2022-09-26  7:27   ` Simon Wright
2022-09-26  7:45     ` Dmitry A. Kazakov
2022-09-26  8:04       ` Rick Duley
2022-09-26  9:16         ` Dmitry A. Kazakov
2022-09-26  9:33           ` Rick Duley
2022-09-27  2:35           ` Rick Duley
2022-09-27  6:27             ` Dmitry A. Kazakov
2022-09-27  6:43             ` J-P. Rosen
2022-09-27  7:44               ` Rick Duley
2022-09-27 16:04             ` Björn Lundin
2022-09-28 17:40   ` Stephen Leake
2022-09-26  7:28 ` G.B.
2022-09-26  9:30 ` Jeffrey R.Carter
2022-09-26  9:34   ` Rick Duley
2022-09-26  9:37     ` Jeffrey R.Carter
2022-09-26 11:08       ` Maxim Reznik
2022-09-26 13:23         ` Kevin Chadwick
2022-09-26 18:12           ` Rene
2022-09-27 10:10           ` Roger Mc
2022-09-27 11:40             ` Roger Mc
2022-09-27 14:10             ` Simon Wright
2022-09-27 17:09               ` Roger Mc
2022-09-27 20:26                 ` Simon Wright
2022-09-28 12:14                   ` Roger Mc
2022-09-28 12:54                     ` Roger Mc
2022-09-28 18:34       ` Stephen Leake
2022-09-26 19:44 ` Marius Amado-Alves
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox