Mail Archives: djgpp/2000/02/12/21:42:14
Hello..
I had been using DJGPP and RHIDE for a while, but just recently I started
getting the error message "Bad command or file name" when compiling and running
a program from within RHIDE. It happens after I click OK for the "Program Exit
Code: 0 (0x0000)" window. A black window comes up titled "contents of stderr
from myproject.exe". This never used to happen, and I'm not sure why it
started. I even deleted my entire installation of DJGPP and RHIDE and
reinstalled it from the original zip files. Then I created just a simple
source file to make sure I wasn't causing the problem with my code or anything.
The program I made is
// filename: hello.cpp
#include <iostream.h>
int main()
{
cout << "hello";
return 0;
}
Yet I still get the "contents of stderr from hello.exe" window with the "Bad
command or file name" message. I've tried doing Compile, Make, Link, and Build
All individually, and they all work fine; the problem comes when I try to Run.
But the weirdness doesn't end there. If I execute the .exe file outside of
RHIDE, it works fine. And if I do Run > Step Over for every line of code, and
then run the program after that, it works fine. And if I compile and run the
program from the command line (gxx -o hello.exe hello.cpp), it works fine.
I'm really quite perplexed, because RHIDE was not so troublesome up until a few
weeks ago when this started happening, and now it won't ever work. It seems to
me that the problem is that it's not locating the executable file once it's
done compiling, linking, etc., but I could be wrong. Does anyone know what's
going on?
(note: I have Win98 and run RHIDE v1.4)
Thank you,
Frustrated Mike
- Raw text -