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,FREEMAIL_FROM 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!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail From: Michael Bode Newsgroups: comp.lang.ada Subject: Re: Setting up an Ada hello world project Date: Tue, 31 Oct 2006 21:50:04 +0100 Organization: 1&1 Internet AG Message-ID: References: <1162322045.860579.159590@i42g2000cwa.googlegroups.com> <1162324605.940929.208800@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: p54af230b.dip0.t-ipconnect.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: online.de 1162327804 25881 84.175.35.11 (31 Oct 2006 20:50:04 GMT) X-Complaints-To: abuse@einsundeins.com NNTP-Posting-Date: Tue, 31 Oct 2006 20:50:04 +0000 (UTC) X-message-flag: IMPORTANT MESSAGE -- PLEASE READ IMMEDIATELY!!! X-Accepted-File-Formats: ASCII, .rtf, .ps, .pdf - *NO* MS Office files User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) Xref: g2news2.google.com comp.lang.ada:7307 Date: 2006-10-31T21:50:04+01:00 List-Id: "markww" writes: > 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, I don't use GPS so I can't comment on it, but I've found that for a start it is sometimes easier to do without IDEs and 'wizards'. Just save this with Ada.Text_IO; procedure Hello is begin Ada.Text_IO.Put_Line("Hello, world!"); end Hello; to a file called 'hello.adb' and then type 'gnatmake hello.adb' on the console. -- Michael Bode