The Code
As a quick hack, let's compile a really simple
"hello world" C application. Save
the following code as compilertest.c:
int main( int argc, char** argv ) {
printf( "hello, tivo!\n" );
}
Compile it using the tools you just installed:
$ /home/tivodev/root/bin/gcc -o compilertest compilertest.c
Upload the resulting compilertest binary to
TiVo's /var/hack/bin directory,
make it executable, and give it a whirl:
bash-2.02# chmod 755 /var/hack/bin/test
bash-2.02# test
hello, tivo!