delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/24/20:30:14

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE default directory for exe files
Date: 25 Nov 2002 01:16:09 GMT
Organization: Cornell University
Lines: 52
Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-196.syr.east.verizon.net)
Message-ID: <Xns92D0CE311C41Fasu1cornelledu@132.236.56.8>
References: <arqjv6$hp4$1 AT sparta DOT btinternet DOT com> <arr966$4lc$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <arrh7o$sua$1 AT sparta DOT btinternet DOT com>
NNTP-Posting-Host: pool-141-149-207-196.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1038186969 5857 141.149.207.196 (25 Nov 2002 01:16:09 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 25 Nov 2002 01:16:09 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Dave Larcombe" <Dave_Larcombe AT btinternet DOT com> wrote in
news:arrh7o$sua$1 AT sparta DOT btinternet DOT com: 

>> "Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> wrote in
>> message news:arr966$4lc$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE...
>>> Dave Larcombe <Dave_Larcombe AT btinternet DOT com> wrote:

<snip>

>>> I was wondering if I could set the default directory for the exe
>>> files that are created in a location other than the bin folder. 
>>> Could anyone help me?

>> You made the same mistake as most newbies who grew up using Windows
>> instead of DOS: you run RHIDE by clicking on some Icon in Windows
>> Explorer.  Don't.
>>
>> Instead, open a DOS shell window, change the current directory to
>> where you want to be (usually that's where the source files for your
>> current project are) using the "cd" command, and then run RHIDE by
>> typing the command
>>
>> RHIDE

> I think you have misunderstood my problem. Rhide opens and works fine
> but it saves the exe file from the compiled source file in the Bin
> folder. I was hoping I could change the location that the exe files
> are stored; much like you can for the object files generated from the
> source code. 

it looks like you misunderstood his response.

when you double click on rhide to start it, windows sets its working 
directory to where rhide lives (i.e. the bin directory in the djgpp 
tree). AFAIK, rhide puts the exe files it generates in the current 
working directory.

that is why you should open a command window, change to the directory 
where you want the executable to be created (usually the root of your 
project), and then start rhide on the command prompt.

in addition, you can use the Project -> main targetname option to set the 
location of the target.

sinan.


-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


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