Setting up an Ada hello world project



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

.



Relevant Pages

  • Re: hmm..interesting
    ... you've got a discussion of ARM vs Intel architecture here: ... And ARM is rapidly running away from RISC. ... mainstream (many netbooks and smartphones run Linux instead of Windows ... And hardly any C compiler does. ...
    (comp.sys.acorn.hardware)
  • Re: Stalin ported to Windows.
    ... Therefore, the compiler ... Stalin from Scheme sources; it took six hours to generate the C ...   Junia and Reane  got a working Windows port from the C ...
    (comp.lang.scheme)
  • Re: hmm..interesting
    ... work out at more power per Watt than x86. ... mainstream (many netbooks and smartphones run Linux instead of Windows ... the fact that Visual Studio allows you to get away with fairly sloppy ... difficult to find a C compiler that *doesn't* have vendor-specific ...
    (comp.sys.acorn.hardware)
  • Re: C++ programming migration from DOS to Windows
    ... compiler, so the current compiler is quite competitive WRT to ... There are a couple of ports of gcc to Windows. ... Comeau is more or less unique: the best language conformance you can ... IDEs: Microsoft and Borland have both produced decent IDEs in the past, ...
    (comp.lang.cpp)
  • Re: Future for VC++ Programmers
    ... bluescreening the system (crash X windows). ... Especially the kind who speak their native language as a second ... I don't want an environment in which the compiler, the linker, and the debugger will, at ...
    (microsoft.public.vc.mfc)