Compiling Hello World program on Beagleboard


I have ported Android Gingerbread 2.3.4 into beagleboard xM version.

I have used SD card for booting kernel.

Host machine OS: Ubuntu 11.04

arm cross compiler : arm-eabi-4.4.3

I have written a hello world program.

when i am compiling the same using "arm-eabi-gcc hello.c -o hello" , i
get an error

hello.c:1:19: error: stdio.h: No such file or directory
hello.c: In function 'main':
hello.c:6: warning: incompatible implicit declaration of built-in
function 'printf'

I tried including "/home/guest/rowboat-android/
TI_Android_GingerBread_2_3_4Sources/bionic/libc/include/" to
enivronment variables still the error remains.

can anyone help me to resolve this problem

Prajith Warrier