From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: C++ PROBLEMS !! Date: 5 Sep 2001 02:58:23 GMT Organization: Cornell University Lines: 71 Sender: asu1 AT cornell DOT invalid (on slip-32-102-40-150.ny.us.prserv.net) Message-ID: References: <8cnaptsrje05ghoc03klucqmosa2keg4pg AT 4ax DOT com> NNTP-Posting-Host: slip-32-102-40-150.ny.us.prserv.net X-Trace: news01.cit.cornell.edu 999658703 14142 32.102.40.150 (5 Sep 2001 02:58:23 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 5 Sep 2001 02:58:23 GMT User-Agent: Xnews/4.06.22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Radical NetSurfer wrote in news:8cnaptsrje05ghoc03klucqmosa2keg4pg AT 4ax DOT com: > I have DJ 2.95.3 installed.... the current version of djgpp is 2.03. 2.95.3 is the version of gcc. > Autoexec.batch contains: ... > @set LIBRARY_PATH=C:\DJGPP\LIB > @set C_INCLUDE_PATH= C:\DJGPP\INCLUDE you really don't need these. ... > QUESTION: > > THEN why the heck am I not able to compile any C++ sources UNLESS I > move the required "iostream.h, etc." header files into the root of > \djgpp\include directory? Which, after doing so, sources compile > and produce executables? you shouldn't do that. > > I do have the following in my DJ 2.95.3 installation: > > \DJGPP\include\lang\cxx when you just unzip the distribution, lang\cxx should unzip directly under djgpp, not in djgpp\include. it seems like you moved things around a little too much. ... > WHERE IS IT EXPLAINED (which Readme, or FAQ file please) no need to shout. things work if you just leave everything where it was first unzipped (if you made sure to preserve the directory structure when unzip'ing or just used unzip32.exe). > that "cc1.exe" should be __renamed__ to just "cc.exe" > and you __must__ rename "cpp0.exe" to "cpp.exe" and place it > in the \DJGPP\BIN\ directory before C++ projects can be compiled? no. none of those files needs to be renamed. > WHAT EXACTLY is "cc1plus.exe" expected to ever be used for? > WHERE is it explained please? who cares? if i download the packages i need, the extract them properly, all i need to use is gcc (or gxx or gpp depending on what i need). i do not care what other programs gcc invokes to get the job done. no need to make random changes to the system, and scream when it suddenly stops working. if you are interested, do type info gcc on the command line, and read the documentation. hth. Sinan. -- -------------------------------- A. Sinan Unur http://www.unur.com/