Mail Archives: djgpp/1999/12/29/12:48:14
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 <DIR> .
11-16-99 10:23 <DIR> ..
11-16-99 10:24 <DIR> bin
11-16-99 10:25 <DIR> contrib
11-16-99 10:26 <DIR> doc
11-16-99 10:24 <DIR> faq
11-16-99 10:25 <DIR> gnu
11-16-99 10:24 <DIR> include
11-16-99 10:24 <DIR> info
11-16-99 10:25 <DIR> lang
11-16-99 10:24 <DIR> lib
11-16-99 10:25 <DIR> man
11-16-99 10:24 <DIR> manifest
11-16-99 10:25 <DIR> share
11-16-99 10:26 <DIR> src
11-16-99 10:24 <DIR> tmp
12-13-99 12:01 <DIR> 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 <stdio.h>
>
> 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
>
>
- Raw text -