delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/17/11:31:51

From: kraken AT mbox3 DOT singnet DOT com DOT sg DOT nospam (Rory)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: help needed, cannot exec CPP
Date: Tue, 17 Mar 1998 16:05:36 GMT
Organization: Singapore Telecommunications Ltd
Lines: 68
Message-ID: <350e97c2.2307864@news.singnet.com.sg>
References: <350d4c25 DOT 9964987 AT news DOT singnet DOT com DOT sg> <350D587C DOT CA2 AT nortel DOT ca>
NNTP-Posting-Host: ts900-11919.singnet.com.sg
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Mon, 16 Mar 1998 11:51:08 -0500, Ian Chapman <ichapman AT nortel DOT ca>
wrote:

>Rory wrote:
>> 
>> i just d/l'd djgpp and unzipped all the files into a directory called
>> djgpp. 
>READ THE FAQ YOU HAVE MORE TO DO.
>
>HERE IS MY BAT FILE THAT I RUN IN A WIN95 DOS WINDOW.
>
>path c:\windows\command
>Rem dj stuff
>set DJGPP=c:\djgpp\djgpp.env
>set path=C:\djgpp\bin;%path%
>Rem end dj stuff
>doskey
>
>		Regards Ian.
>
>
>i d/l'd the files for running on ms-dos, along with rhide IDE.
>> now when i try to compile from the IDE, it says
>> 
>> installation error, cannot exec 'CPP': no such file or directory
>> (ENOENT) there were some errors
>HOW DID YOU RUN RHIDE WITHOUT ABOVE
>

ok, i don't quite get your question, maybe it was netscape again? ;-)
but lets try, i think you want to know how i ran RHIDE without the
above lines in my autoexec.bat? well, i just d/l'd the required files
and unzipped them to c:\djgpp and double clicked on rhide.exe from
windows explorer. simple, no? 

you'll be glad to know(will you?) that your suggestion above DID work
for me. the thing is, yesterday, i added the lines to autoexec.bat,
saved, and ran the file straightaway and still got the error message.
today it works with no more error message so i realise i should have
rebooted for it to work yesterday. doh! this should be in the FAQ.
maybe it is, i must've missed it.

so now that it works, thank you thank you thank you thank you thank
you and thank you. i'm so grateful now i can compile for free. now i
just have to figure out the intricacies of coding for djgpp. this is
one of those things where you don't stop learning right? :-)
i've already had a little problem with my Hello world! test program.
i wanted the user screen not to disappear after ending so i added a
getch() at the end. this erases my Hello world like i just did a
clrscr(). so i tried again with 

printf("hello world!\n");
printf("press y to quit");
scanf("%c", &ch);
printf("bye");
getch();

after pressing y and <enter>, 'bye' doesn't get printed out. getch()
seems to clear the text on the line of the current cursor. weird.
so anyway, once again, thanks for getting me going with djgpp!
much appreciated. later......

 
- Rory
  "i think i'm dumb, maybe just happy..."

(remove .nospam from address when 
 replying by e-mail)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019