From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Beginner questions Date: 30 Apr 1997 12:37:13 GMT Organization: Oxford University, England Lines: 41 Message-ID: <5k7edp$mtu@news.ox.ac.uk> References: <3366E6DB DOT 639F AT club-internet DOT fr> NNTP-Posting-Host: sable.ox.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 Merton College, Oxford