comp.lang.ada
 help / color / mirror / Atom feed
From: "markww" <markww@gmail.com>
Subject: Re: Setting up an Ada hello world project
Date: 31 Oct 2006 11:56:46 -0800
Date: 2006-10-31T11:56:46-08:00	[thread overview]
Message-ID: <1162324605.940929.208800@b28g2000cwb.googlegroups.com> (raw)
In-Reply-To: <qHN1h.218279$FQ1.84197@attbi_s71>

Hi Jeff,

This is the first time I'm using Ada, sorry if my questions seem
absoultely ridiculous to you. I am using GPS - GNAT for windows. I
created a new project called 'Ada_LinkedList'. I'd just like to be able
to output something to screen, I'm not sure how what the compiler
wizard created for me combines with the hello world snippet I found to
produce an exe which will do that,

Thanks,
Mark

On Oct 31, 2:43 pm, "Jeffrey R. Carter"
<spam.not.jrcar...@acm.not.spam.org> wrote:
> markww wrote:
>
> > I finally got a working compiler for windows. However, I'm not quite
> > sure how to go about compiling a hello world application. The default
> > project created one source file with the text:Glad to hear it. We could answer your questions better if you told us
> what compiler you are using. Different compilers do things differently.
>
> >     project Ada_LinkedList is
> >       for Object_Dir use "..\..\..\";
> >           for Main use ("main");
>
> >     end Ada_LinkedList;This seems to be for a project called "Ada_Linkedlist" with a main
> subprogram called "Main". This is compiler-dependent.
>
> >     with Ada.Text_IO;
>
> >     procedure Hello is
> >     begin
> >        Ada.Text_IO.Put_Line("Hello, world!");
> >     end Hello;This seems to be an Ada procedure called "Hello". Why you think
> something called "Ada_Linkedlist", referencing something called "Main",
> will compile something called "Hello" is not clear to me.
>
> > Where does one #include this in Ada?One doesn't "#include" anything in Ada.
>
> --
> Jeff Carter
> "Whatever it is, I'm against it."
> Horse Feathers
> 46




  reply	other threads:[~2006-10-31 19:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 19:14 Setting up an Ada hello world project markww
2006-10-31 19:43 ` Jeffrey R. Carter
2006-10-31 19:56   ` markww [this message]
2006-10-31 20:50     ` Michael Bode
2006-10-31 20:58 ` Björn Persson
2006-10-31 21:05   ` markww
2006-10-31 21:08     ` markww
2006-11-01  7:27 ` Martin Krischik
replies disabled

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