Message-ID: <38692E0F.6CAE3FB8@sympatico.ca> From: BRAD MURPHY X-Mailer: Mozilla 4.05 [en]C-SYMPA (Win95; I) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Same ol question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 52 Date: Tue, 28 Dec 1999 21:45:37 GMT NNTP-Posting-Host: 206.172.235.204 X-Trace: news20.bellglobal.com 946417537 206.172.235.204 (Tue, 28 Dec 1999 16:45:37 EDT) NNTP-Posting-Date: Tue, 28 Dec 1999 16:45:37 EDT Organization: Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I know that many beginners cannot get their Djgpp and Rhide to work properly, but reading through their questions and answers, as well as the FAQ files that come with the programs is still not helping me at all. Does anyone know what I'm doing wrong? Please help! I downloaded all the files that the zip picker told me I would need to run c/c++ files with windows 95, and I unzipped them in c:\djgpp\ using a program that supports long file names. Then I added set DJGPP=C:\DJGPP\DJGPP.ENV set PATH=C:\DJGPP\BIN;%PATH% to autoexec.bat. When I go to the Rhide program after that and try to run the hello world program, I create the project hello.gpr, and the source file hello.c. I then type #include int main() { printf("Hello world!\n"); exit(0); } into hello.c. I have tried some different coding that should do the same thing, and I have also tried saving the project as hello.mak and the source file as hello.cpp. No matter what I do, I always get the same thing! In the message window when compiling it says Compiling: hello.cpp (or hello.c) Bad command or file name no errors And then when I run the program it gives me the message Program exit code: -1 (0xffffffff) One thing that looks fishy to me is the line in autoexec.bat set DJGPP=C:\DJGPP\DJGPP.ENV djgpp.env isn't even in c:\djgpp. After unzipping everything, its in c:\djgpp\djdev202. I don't know if this is the main problem or how to fix this, but it doesn't look right to me! I've explained myself as well as possible, and I'm sorry about the length of the question, but if you have any ideas I would love to hear them. I really have no idea what to do next!!! Thank-you BRAD MURPHY