From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: help please: djgpp temp file error. Date: Wed, 04 Dec 1996 07:04:14 GMT Organization: Oxford University Lines: 29 Message-ID: <32a5202b.46872382@news.ox.ac.uk> References: NNTP-Posting-Host: mc31.merton.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Tue, 3 Dec 1996 18:50:04 +0000, Lyndon Handscomb wrote: >I have a problem with djgpp. I've unzipped djdev109, djgas138 and >djgcc222 (which I believe is the minimum set for the compiler). These are very old. Go to a SimTel mirror (e.g. in UK http://micros.hensa.ac.uk/pub/simtelnet/gnu/djgpp/v2/) and download the latest versions; there are some major improvements. But first, read the file README.1ST (at the above address) to decide what to download (this is different for version 2 and above) and also download and at least look at the FAQ: FAQ202B.ZIP at the above address. If this doesn't solve your problems, and you've followed all the getting started instructions in README.1ST and the FAQ, post again. >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 Is your %DJDIR%/BIN directory in your PATH? George Foot