Mail Archives: djgpp/2002/11/24/20:30:14
"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 -