From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: continual setup problems... Date: 23 Apr 1998 12:59:50 +0100 Organization: Defence Evaluation & Research Agency Lines: 64 Message-ID: <87af9c4ukp.fsf@hasn.dera.gov.uk> References: <353f1736 DOT 121439 AT news DOT nwinfo DOT net> NNTP-Posting-Host: 146.80.115.106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk darwin AT nwinfo DOT net (David Melik) writes: > I've been attempting to set up DJGPP and RHIDE and have had various > problems. A few months ago I tried downloading it all seperately, and > one text file said that for the installation to work it "assumes a > Unix-like SED program", and I could not find a dos version. There is a version of sed in either the GNU textutils or fileutils, I forget which, both of which are available as zip files as part of the DJGPP distribution. > ...got files for C, C++, ASM, they > were about version 2.7.2. When I tried compiling something it > couldn't find iostream.h (strange, I had the paths set up correctly, > and iostream was in one of the directories). I noticed the binutils > zip file was messed up and downloaded it again, and stuff was updated > to version 2.8, so I got the compilers and libraries again. When I > unzipped these, it couldn't create the file g++.exe (that's a bad dos > filename). I hope gpp.exe is the same thing. Then when I tried > compiling it couldn't find cc1plus.exe. If you have installed the 2.7.2 versions, even partially, you *must* remove them before installing 2.8 or you will get a strange mixture of the two that will not work properly. The gpp.exe gxx.exe g++.exe thing confuses me too :( I always use gcc -o mybinaryname.exe mysrcname.cc -lstdcxx to compile C++. That way I know where I am. > I think the FAQs and zip-picker page both said to just pkunzip -d > everything in the same directory, modify autoexec.bat, and that RHIDE > needs little or no setup (I also tried paths for includes and > libraries in RHIDE, although it seems like DJGPP.ENV might take care > of all that.), but this did not work. Does the FAQ tell the whole > truth? As far as I know, yes it does. > I found cc1plus buried in a strange long directory structure, > lib/gcc-lib/djgpp/2.80/ or something like that. Yes, that's right. Do not change it. Get rid of the 2.7.2 installation and start again. (Better still delete your whole DJGPP tree and start the whole thing again. There's nothing like starting with a clean sheet, especially if you haven't done it before.) > What does it take to set DJGPP up? You need to follow the instructions in README.1ST *to the letter*. They work. Patience, perseverance, and problem solving skills may also come in handy from time to time. Oh, and don't expect your multi-user full-screen graphics engine to work first time. Try a hello world program written in vanilla C first. Regards, Ian -- Ian Miller, Dorset, UK DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y) The views expressed above are entirely those of the writer and do not represent the views, policy, or understanding of any other person or official body.