comp.lang.ada
 help / color / mirror / Atom feed
From: "markww" <markww@gmail.com>
Subject: Setting up an Ada hello world project
Date: 31 Oct 2006 11:14:06 -0800
Date: 2006-10-31T11:14:06-08:00	[thread overview]
Message-ID: <1162322045.860579.159590@i42g2000cwa.googlegroups.com> (raw)

Hi,

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:

    project Ada_LinkedList is
      for Object_Dir use "..\..\..\";
          for Main use ("main");

    end Ada_LinkedList;

but the compiler complains that there are no Ada sources in this
project. How do I go about adding an Ada source? I just want to run
something like:

    with Ada.Text_IO;

    procedure Hello is
    begin
       Ada.Text_IO.Put_Line("Hello, world!");
    end Hello;

Where does one #include this in Ada? 

Thanks,
Mark




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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 19:14 markww [this message]
2006-10-31 19:43 ` Setting up an Ada hello world project Jeffrey R. Carter
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