This worked
arm-linux-gnueabi-g++ -o hello hello.cpp
it was found in /usr/bin after i ran this
sudo apt-get install g++-arm-linux-gnueabi
sweet !!!
and the code runs on my kobo thanks a million now I am cooking with gas
sligntly different to your instructions ( but you just want to me to learn more don't you )
Now the million $ questions
can i install g++-arm-linux-gnueabi on the kobo instead of ubuntu so i can do it all via just telnet and vi ?
there is no apt-get on the kob but busybox has a install function that I cant work out yet ???
I would like to be able to do everythong from the kob ( if this is possible )