From: "Andrew Jones" Newsgroups: comp.os.msdos.djgpp References: <38692E0F DOT 6CAE3FB8 AT sympatico DOT ca> Subject: Re: Same ol question Lines: 95 X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Wed, 29 Dec 1999 12:49:35 GMT NNTP-Posting-Host: 216.154.7.25 X-Complaints-To: abuse AT idirect DOT com X-Trace: quark.idirect.com 946471775 216.154.7.25 (Wed, 29 Dec 1999 07:49:35 EST) NNTP-Posting-Date: Wed, 29 Dec 1999 07:49:35 EST Organization: Internet Direct - http://www.mydirect.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is also being CC'd as my news server is rather unreliable. This looks like an installation problem. Here's an abbreviated listing of what my directory structure looks like: Directory of E:\DJGPP\* 11-16-99 10:23 . 11-16-99 10:23 .. 11-16-99 10:24 bin 11-16-99 10:25 contrib 11-16-99 10:26 doc 11-16-99 10:24 faq 11-16-99 10:25 gnu 11-16-99 10:24 include 11-16-99 10:24 info 11-16-99 10:25 lang 11-16-99 10:24 lib 11-16-99 10:25 man 11-16-99 10:24 manifest 11-16-99 10:25 share 11-16-99 10:26 src 11-16-99 10:24 tmp 12-13-99 12:01 utils 11-01-95 19:08 17,982 copying 6-03-99 13:29 2,084 copying.dj 11-01-95 19:08 25,265 copying.lib 11-01-99 0:03 3,409 djgpp.env 4-02-99 1:58 14,628 readme.1st DJGPP.ENV is ALWAYS unpacked in the root of your DJGPP directory. If it's not there, and your directory tree doesn't even remotely resemble the one above, you've got a problem. Hope this helps, Andrew Jones xluminous AT NOSPAM DOT hotmail 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 > >