Mail Archives: djgpp/1997/04/30/12:08:49
Frederic STOCK (bidouye AT club-internet DOT fr) wrote:
: I've downloaded the djgpp V2 (I'm running it in a dos frame under Win95)
You should be using DJGPP version 2.01 now; there are subtle differences
which mean that programs compiled with v2 (e.g. your GCC.EXE) won't
interact correctly with programs compiled with v2.01 (e.g. RHIDE.EXE). You
could continue to use v2 but you should be aware of this potential
problem.
I don't know what defs.h is.
: - I've an other program which use the iostream.h include.
: It's on \djgpp\include dir, but when I run gcc or gxx, it returns that
: it can't find this file, why ?
It seems that you haven't set up your environment correctly. Make sure you
have read the instructions in LISEZMOI.1ER. Specifically, you must have
the BIN subdirectory of your main DJGPP directory in your PATH, and there
should be an environment variable called DJGPP which points to the file
DJGPP.ENV in your main DJGPP directory.
If you have already done this and it is still not working, refer again to
LISEZMOI.1ER and check you have installed all the packages listed as being
required for C++ compilations (iostream.h is part of the C++ package). If
this still doesn't work, post again with the files produced by typing at
the DOS prompt:
(make a file called `nothing.c' containing: int main() { return 0; })
redir -o gcc-v.txt -eo gcc -v -o nothing.exe nothing.c
set > set.txt
dir manifest > manifest.txt (type this from your main DJGPP directory)
Post the contents of gcc-v.txt, set.txt and manifest.txt. This information
should help to troubleshoot your problem. If possible, don't encode the
files; this annoys some people.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -