man r.mklibpovcd to the newly made helloworld directory.r.mklib. If the command is successful,
performing an ls -a should indicate that the subdirectory
.rpdlib has been created. This directory is used during
the compilation and link procedures, and must be present.
type T is interface
behavior
action Hello_World();
begin
Start => Hello_World;;
end T;
rpdc -M T -o helloexe hello.rpd
This will create an executable named helloexe from
hello.rpd. To find out what
the compilation parameters mean, enter a man rpdc command to
read the man pages on rpdc.
helloexe
at the command prompt. This performs a Rapide simulation.helloexe creates a file named
helloexe.log in the current working directory (helloworld).
pov helloexe.log
You should see two boxes (Start and helloworld) with an arrow between them.
This is very pretty, but won't make much sense until you read Part I (For now,
we're just showing you how to "pick up" the tool).
r.cleanlib