Mail Archives: djgpp/1999/08/03/22:32:31
On 3 Aug 99, Matej was found to have commented thusly:
> hello,
> when i make a program (with F9), the *.o and *.exe appear on my desktop. how
> can I configure it to make those file in another directory (e.g. c:\c++). I
> already tried something that worked but it worked until I closed the rhide.
> If you have an answer, please reply...
> Thanks in advance,
> Matej
This always seems to work for me:
For directing the creation of your object (intermediate) files, indicate the
directory you want in Options->Directories->Object.
For directing the creating of the library (*.a) or the executable (*.exe),
indicate this in "Project->main targetname" by giving a full pathname to the
<projectname>.exe filename that you see in the dialog box when it pops up.
Note that the default basename of the executable is the name of your project.
I believe you can change this too even though it conflicts with the project
name.
You will get errors during compiles if the object path does not exist, and an
error during the link if the pathname to the main targetname does not exist.
In other words, make sure the directory hierarchies exist.
---------------------------------------------------------
M. Halloran
Censure is the tax a man pays to the public
for being eminent. -- Jonathan Swift
- Raw text -