From: Russell Day Subject: C compiles, C++ doesnt To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Thu, 11 Mar 1993 22:32:28 +1000 Stop me if you've heard this before... I have just installed gcc on my girlfriend's machine, and it compiles C programs very nicely. However, when I try to compile a small c++ program, this happens: Bad command or file name Can't open c:/tmp/cc000088.s for readingfile not found. c:/lang/cpp/lib/crt0.o: Undefined symbol _main referenced from text segment The directory \tmp exists, and is named in the TMPDIR environment variable. The autoexec.bat file contains everything mentioned in the readme.txt file with djcpp except that the compiler lives in a directory called \lang\cpp. I looked in the faq packed with the compiler, and this isnt there. Any hints? Also, is there a copy of the documentation anywhere which isnt in tex format? I'd rather not buy a $50 book and spend two weeks studying it just to read a manual for something else. (Unless there is an easy way of converting TEX files to something printable - it seems to be an obscure multi-step process which I would rather not master.) Thanks for the help, Russ. kkk