www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/31/03:57:57

From: chyn0610 AT ms43 DOT hinet DOT net (Lin)
Newsgroups: comp.os.msdos.djgpp
Subject: newbie's trouble, move djgpp to another directory
Date: Fri, 31 Dec 1999 08:14:34 GMT
Organization: DCI HiNet
Lines: 40
Message-ID: <386d6000.28674558@netnews.hinet.net>
NNTP-Posting-Host: h27.s148.ts31.hinet.net
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.452
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi there !
I have installed DJGPP2.02 and RHIDE 1.4 on my C:\DJGPP . I run it
with a simple batch file DJ.BAT on the WIN95's virtual DOS box. and it
seems well before the troubles come out.    the contents of the DJ.BAT
is :  

set path=c:\djgpp\bin;%path%
set djgpp=c:\djgpp\djgpp.env
rhide

For some reasons I need to move the djgpp to D: drive .

1st:  I move all djgpp files to D:\DJGPPA  

2nd: edit the dj.bat to be

   set path=d:\djgppa\bin;%path%
   set djgpp=d:\djgppa\djgpp.env
   rhide
   
3rd: edit the djgpp.env

relpace " DJDIR=%:/>DJGPP%" with " DJDIR=%:/>DJGPPA%"
 
4th: delete every things in  directory C:\DJGPP

Now comes the trouble ! 
1. i still can use djgpp and rhide with dj.bat.  but i will allways
get the error message when i  compile any c program.
   " installation problem, cann't exec "cpp.exe",no such file or
directory (ENOENT)".
2. i can use the info command well before ,but now i will allways get
an error message when launch the  INFO command.--
   info: dir: no such file or directory (ENOENT).
3. and also it will always give me an error message when use  command
line GCC.


How to fix it ?

- Raw text -


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