Mail Archives: djgpp/2001/09/04/19:30:14.1
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/
- Raw text -