Mail Archives: djgpp/2001/06/19/10:51:44
RITAWIREKOGH AT aol DOT com wrote:
>
> Tim,
> The programme is Rhide because on my windows desktop when I select Programmes
> it shows DJGPP and beside it 'Rhide'.
> If I type 'gcc -Wall list1102.cpp -o list1102.exe-lstdcxx', I get the
> reponse below:
> gcc.exe: No such file or directory (ENDENT)
> gcc.exe: No input file or directory(ENDENT)
> gcc.exe: No input files.
> To enter into the C++ program I always go to the windows dekstop and select
> Rhide.
> I want to be able to run at least one program that I installed from the CD
> ROM . It contains Source Code and Exercises. This is all the information I
> think I have now.
> Please help again or further if the Rhide will not work show me a good book
> and a compiler which I can easily learn and can teach me how to run a
> Programme starting from the basics. Please help again for I appreciate your
> first help.
Ah - so you're only running Rhide from the start menu. The problem is
probably
that Rhide is running with an incorrect working directory, so it won't
find
your files.
DJGPP is a command-line environment, so it is recommended to use it as
such.
Open an MS-DOS command prompt, go to the place where the sources are
(cd c:\where\ever\you\put\them), and then run either rhide, or simply
run the gcc command directly there (I'm sure the book you're using will
have
some examples of how to compile from the command line).
So, to recap: assume you have the sources in c:\sams:
On the start menu, choose 'MS-DOS Command Prompt' (or something
similar).
At the prompt, type c:
At the prompt, type cd \sams
Then you can try typing 'rhide' at the prompt and see if that helps.
If not, try running gcc yourself ("gcc -c source -o object" to compile,
"gcc objects -o program.exe -lstdcxx" to link)
(Oh, and please send mails to the list (djgpp AT delorie DOT com) instead of to
me
directly)
--
Tim Van Holder - Anubex N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.
- Raw text -