Date: Fri, 12 Feb 93 09:09:04 EST From: DJ Delorie To: ccecks AT nuscc DOT nus DOT sg Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Problems compiling c++ programs. >I started using djgpp only recently and have compiled a number of c >programs with it. Today, I started on my first c++ program and to my >surprise, I obtain lots of errors. I've checked my environmental >variables and they looked alright. This is what I get for a very simple >c++ program. >c:\compiler\djgpp\quat> gcc t.cc -o t >Bad command or file name >Can't open C:/COMPILER/DJGPP/TMP/cc000050.s for readingfile not found >C:/COMPILER/DJGPP/LIB/crt0.o: Undefined sumbol _main referenced from text >segment >What am I missing? Any hints appreciated. You're missing the C++ compiler. Get djgpo222.zip.