From: "Jeffrey R. Carter" <spam.not.jrcarter@acm.not.spam.org>
Subject: Re: Setting up an Ada hello world project
Date: Tue, 31 Oct 2006 19:43:18 GMT
Date: 2006-10-31T19:43:18+00:00 [thread overview]
Message-ID: <qHN1h.218279$FQ1.84197@attbi_s71> (raw)
In-Reply-To: <1162322045.860579.159590@i42g2000cwa.googlegroups.com>
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
next prev parent reply other threads:[~2006-10-31 19:43 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 [this message]
2006-10-31 19:56 ` markww
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