From: Patrick Mahoney Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie: Help w\error in RHIDE Date: Fri, 02 Apr 1999 13:00:14 -0500 Organization: AT&T WorldNet Services Lines: 98 Message-ID: <370505AE.720FBAFF@worldnet.att.net> References: <37044CF1 DOT 6894C2F7 AT worldnet DOT att DOT net> <3704D9CB DOT FEFAE57F AT xoommail DOT com> NNTP-Posting-Host: 12.67.147.37 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------01B52398511EDEC048B0F61C" X-Trace: bgtnsc01.worldnet.att.net 923075590 16597 12.67.147.37 (2 Apr 1999 17:53:10 GMT) X-Complaints-To: abuse AT worldnet DOT att DOT net NNTP-Posting-Date: 2 Apr 1999 17:53:10 GMT X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com --------------01B52398511EDEC048B0F61C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ishpeck wrote: > Well, if you read the docs, you would know that in the AUTOEXEC.BAT > you should have > > SET DJGPP=C:\DJGPP\DJGPP.ENV > > Or wherever your DJGPP.ENV file is. > I found one of the problems that I will post here in case anyone eles > is having the same trouble. I have added all of the "SET PATH" line's to my autoexec.bat that the DOC's ask for. Still had the problem. Next I found this SET PROGRAM in my c:\djgpp\bin directory. Now if I understand the info on this program correctly, I have to use this to set-up DJGPP, and RHIDE. So I type this while in my c:\djgpp\bin directory; setdjgpp c:\djgpp c:/djgpp Okay, now when I use RHIDE, it will go through the compiling process, but now I get the following message; compiling hello.c bad command or file name no errors I also get the same message when at the command prompt and use gcc.exe When I use that, here is what I type at the prompt; gcc hello.exe hello.c And I've also tried this one; gcc -o hello.exe hello.c Any idea's of what, or where I am going wrong? I have my autoexec.bat set up the same as the DOC's tell me to. I can not seem to find anything else that is not the way the DOC's say to have it set up, but I sure don't have something right. ;-) Thanks again.......Rusty --------------01B52398511EDEC048B0F61C Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit  

Ishpeck wrote:

Well, if you read the docs, you would know that in the AUTOEXEC.BAT
you should have

SET DJGPP=C:\DJGPP\DJGPP.ENV

Or wherever your DJGPP.ENV file is.

I found one of the problems that I will post here in case anyone eles is
having the same trouble.

I have added all of the "SET PATH" line's to my autoexec.bat that the
DOC's ask for. Still had the problem.
Next I found this SET PROGRAM in my c:\djgpp\bin directory. Now
if I understand the info on this program correctly, I have to use this to
set-up DJGPP, and RHIDE.
So I type this while in my c:\djgpp\bin directory;
setdjgpp c:\djgpp c:/djgpp
Okay, now when I use RHIDE, it will go through the compiling process,
but now I get the following message;

compiling hello.c
bad command or file name
no errors

I also get the same message when at the command prompt and use gcc.exe
When I use that, here is what I type at the prompt; gcc hello.exe hello.c
And I've also tried this one; gcc -o hello.exe hello.c

Any idea's of what, or where I am going wrong? I have my autoexec.bat set up
the same as the DOC's tell me to. I can not seem to find anything else that is not
the way the DOC's say to have it set up, but I sure don't have something right. ;-)
Thanks again.......Rusty
 
  --------------01B52398511EDEC048B0F61C--