Date: Tue, 11 Sep 2001 10:01:08 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: disco stu cc: djgpp AT delorie DOT com Subject: Re: Rhide make directory In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 10 Sep 2001, disco stu wrote: > I've read the faq's = > and i cant find any way to make my *.exe's be made into any directory = > other than c:\djgpp\bin\ Did you read section 22.1 of the FAQ? I think it directly addresses this problem. > Now my question is: Is there any way to = > change the directory where compiled exe's are sent? Something along the = > lines of me being able to send the exe's to c:\temp\ for example? I've = > tried with Emacs and with Rhide and havent had any success with either. = The compiler accepts the "-o " option, so, for example: gcc -o c:\temp\foo.exe foo.c will put the executable where you want it. With Emacs, simply type this command when the `compile' command prompts for a command line. With RHIDE, the best way is to start RHIDE from the directory where you want the program, but there's probably some option to do that as well (I don't use RHIDE myself).