Mail Archives: djgpp/2001/09/04/23:00:04
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/
- Raw text -