From: ccecks AT nuscc DOT nus DOT sg (Chua Kong Sian) Subject: Problems compiling c++ programs. To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Fri, 12 Feb 93 9:31:47 SST 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. Chua Kong Sian ccecks AT nuscc DOT nus DOT sg