4.2. Simple example code

"Hello world"

This example shows how to build a very trivial application with RVCT and link with the GNU C library. It can be used as a template for compiling your own standalone applications with RVCT.


The Dhrystone benchmark is included as an example of a small but non-trivial application which makes use of further C library and operating system functions.

You may again wish to use this example as the basis for your application. The makefile variables and layout are the same as the "hello world" example.

Trivial C++ example

This is the first example that demonstrates the use of C++, this the same as the example included with RVDS 3.0.

Copyright © 2005-2006. All rights reserved.DAI0150B