Date: Fri, 7 May 93 10:36:57 EDT From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) To: etb AT engr DOT LaTech DOT edu Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Help: trying to compile simple little hello.cc program. > I get the following messages (gcc hello.cc): > Bad command or file name > Can't open c:/tmp/cc000054.s for readingfile not found. > c: /djgpp/lib/crt0.o: Undefined symbol _main referenced form text segment Sounds like you have installed the C compiler, but not the C++ compiler. You need file djgpo222.zip. The -v option to gcc will show you what command is generating the "Bad command of file name" message.