delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/03/22:32:31

Message-Id: <199908031504.SAA15982@ankara.Foo.COM>
From: "S. M. Halloran" <mitch AT duzen DOT com DOT tr>
Organization: User RFC 822- and 1123-compliant
To: djgpp AT delorie DOT com
Date: Tue, 3 Aug 1999 19:09:57 +0200
MIME-Version: 1.0
Subject: Re: rhide ide question
In-reply-to: <7o6eis$reu$1@planja.arnes.si>
X-mailer: Pegasus Mail for Win32 (v3.11)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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