Date: Thu, 23 Apr 1998 16:58:20 +0300 (IDT) From: Eli Zaretskii To: David Melik cc: djgpp AT delorie DOT com Subject: Re: continual setup problems... In-Reply-To: <353f1736.121439@news.nwinfo.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 23 Apr 1998, David Melik wrote: > 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. A DJGPP port of Sed is available as v2gnu/sed118b.zip, from the same place you got DJGPP. But you shouldn't need Sed to install binaries, only to build some of the packages from sources. > When I > unzipped these, it couldn't create the file g++.exe (that's a bad dos > filename). This is normal; g++.exe is for Windows 9X users. > I hope gpp.exe is the same thing. Yes, gpp.exe is the same. > Then when I tried compiling it couldn't find cc1plus.exe. Compiling what? > 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? The FAQ tells the whole truth and nothing but the truth AT THE TIME THE FAQ WAS WRITTEN. GCC 2.8.0 were released only recently, and the FAQ doesn't yet cover its peculiarities. You should read the README file which comes with GCC 2.8.0 carefully and do everything it tells you to do. Don't be intimidated by the length of that README: what it says is *important*, so please read it in its entirety. > I found cc1plus buried in a strange long directory structure, > lib/gcc-lib/djgpp/2.80/ or something like that. Since it's a binary > and the bin directory is in the path, I thought perhaps it was > supposed to be copied there, and tried that today. This is a wrong way to solve problems. cc1plus is *supposed* to be in that ``strange long directory'', do NOT copy it to bin. Once again, the README file which comes with gcc explains how to set it up correctly. If you do everything it says, things will begin to work for you. Randomly poking around and moving files based on a hunch is a bad idea. > What does it take to set DJGPP up? More often than not, only to read the README's.