*.o files are object files. Use -o ExeFileName to define a runable output.
There are many helpful Linux links such as:
You can go to many others from there as a start point.
Page Link: http://www.rolia.com/forum/forum_showPost.php?_bno=50&_cno=0&tno=29897&pno=207292&searchfor=