Mail Archives: djgpp/1999/04/02/14:05:44
By way of curiosity, are you using Windows, or are you in strait DOS?
Patrick Mahoney wrote:
>
>
>
> 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
>
>
- Raw text -