RTEMS Logo

RTEMS 4.10.2 On-Line Library


Native Hello World Test

PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

2.1.1.1: Native Hello World Test

Place the following Ada source code in hello.adb:

with Text_IO; use Text_IO;

procedure Hello is
begin
   Put_Line ( "Hello World");
end Hello;

Use the following command sequence to ompile and execute the above program:

gnatmake hello
./hello

If the message Hello World is printed, then the native installation of GNAT operates well enough to proceed.


PREV UP NEXT Bookshelf Getting Started with GNAT/RTEMS

Copyright © 1988-2008 OAR Corporation