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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3b29116893873fe2 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon02.news.prodigy.net!prodigy.net!wns14feed!worldnet.att.net!attbi_s71.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Setting up an Ada hello world project References: <1162322045.860579.159590@i42g2000cwa.googlegroups.com> In-Reply-To: <1162322045.860579.159590@i42g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s71 1162323798 12.201.97.213 (Tue, 31 Oct 2006 19:43:18 GMT) NNTP-Posting-Date: Tue, 31 Oct 2006 19:43:18 GMT Date: Tue, 31 Oct 2006 19:43:18 GMT Xref: g2news2.google.com comp.lang.ada:7300 Date: 2006-10-31T19:43:18+00:00 List-Id: 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