Setting up an Ada hello world project
- From: "markww" <markww@xxxxxxxxx>
- Date: 31 Oct 2006 11:14:06 -0800
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
.
- Follow-Ups:
- Re: Setting up an Ada hello world project
- From: Martin Krischik
- Re: Setting up an Ada hello world project
- From: Björn Persson
- Re: Setting up an Ada hello world project
- From: Jeffrey R. Carter
- Re: Setting up an Ada hello world project
- Prev by Date: GNAT biarch support
- Next by Date: Re: Setting up an Ada hello world project
- Previous by thread: GNAT biarch support
- Next by thread: Re: Setting up an Ada hello world project
- Index(es):
Relevant Pages
|