comp.lang.ada
 help / color / mirror / Atom feed
* Setting up an Ada hello world project
@ 2006-10-31 19:14 markww
  2006-10-31 19:43 ` Jeffrey R. Carter
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: markww @ 2006-10-31 19:14 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-11-01  7:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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