test.c  
compile c program and copy on to target board.
( linux$ arm-none-linux-gnueabi-gcc-4.5.1 -g test.c -o test_arm )

--------

#include <stdio.h>
#include <stdlib.h>

int main(void)
{
	int i=0;
	int j;

	for (j=0;j<=10;j++) {
		i=(int)random();
		printf("i=%d when j=%d\n",i,j);
	}
	
return 0;
}
