From: Lyndon Handscomb Newsgroups: comp.os.msdos.djgpp Subject: help please: djgpp temp file error. Date: Tue, 3 Dec 1996 18:50:04 +0000 Organization: None Lines: 18 Distribution: world Message-ID: NNTP-Posting-Host: lyndons.demon.co.uk MIME-Version: 1.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have a problem with djgpp. I've unzipped djdev109, djgas138 and djgcc222 (which I believe is the minimum set for the compiler). I can compile c programs ok (with "gcc a.c"), but when I compile a c++ program (with "gcc b.cc"), I get the errors: Bad command or filename Can't open c:/tmp/cc000061.s for readingfile not found. c:/djgpp/lib/crt0.o: Undefined symbol _main referenced from text segment Does anyone know what might be wrong? Thanks in advance -- Lyndon