From: Radical DOT NetSurfer AT delorie DOT com Newsgroups: comp.os.msdos.djgpp Subject: C++ PROBLEMS !! Date: Tue, 04 Sep 2001 19:13:51 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <8cnaptsrje05ghoc03klucqmosa2keg4pg@4ax.com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: newsabuse AT supernews DOT com Lines: 58 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Your help is greatly appreciated if you can help me over these little issues: I have DJ 2.95.3 installed.... Autoexec.batch contains: @PATH=C:\DJGPP\BIN;c:\bin;c:\4dos; @set DJGPP=C:\DJGPP\DJGPP.ENV @set LIBRARY_PATH=C:\DJGPP\LIB @set C_INCLUDE_PATH= C:\DJGPP\INCLUDE @set GRXFONT=G:\GRX20\fonts @set GRX20DRV=VESA gw 800 gh 600 @set LFN=Y Now, inside that DJGPP.ENV is: ... [cpp] CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc [gcc] COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin LIBRARY_PATH=%/>;LIBRARY_PATH%%DJDIR%/lib .... 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? I do have the following in my DJ 2.95.3 installation: \DJGPP\include\lang\cxx I trust that was supposed to be simply: "\DJGPP\land\cxx" correct? I do not find that to be intuitive...since, afterall, these are INCLUDE FILEs !!!! COMMENTS PLEASE as to why it was given its very own special directory? C++ is an EXTENSION-only to GCC?? WHERE IS IT EXPLAINED (which Readme, or FAQ file please) 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? WHAT EXACTLY is "cc1plus.exe" expected to ever be used for? WHERE is it explained please? THANKS //the Radical NetSurfer Kind of Guy// http://members.tripod.com/~RadSurfer/