Date: Thu, 11 Mar 93 10:01:07 EST From: DJ Delorie To: russ AT pta DOT pyramid DOT com DOT au Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: C compiles, C++ doesnt >From: Russell Day >Date: Thu, 11 Mar 1993 22:32:28 +1000 >X-Mailer: ELM [version 2.3 PL11] >DJ-Mail-Sort: djgpp@, djgpp >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? You didn't install the C++ front end, which is in djgpo222.zip. Common mistake - maybe I should make it give better error messages. DJ