From: dinsmore7 AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: A simple query Date: Sun, 26 Mar 2000 00:08:59 GMT Organization: Deja.com - Before you buy. Lines: 61 Message-ID: <8bjkei$l8h$1@nnrp1.deja.com> References: <8bha5j$9q4$1 AT nnrp1 DOT deja DOT com> <38DCC276 DOT 25A3F3BC AT iperbole DOT bologna DOT it> NNTP-Posting-Host: 209.156.227.59 X-Article-Creation-Date: Sun Mar 26 00:08:59 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98) X-Http-Proxy: 1.1 x21.deja.com:80 (Squid/1.1.22) for client 209.156.227.59 X-MyDeja-Info: XMYDJUIDdinsmore7 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <38DCC276 DOT 25A3F3BC AT iperbole DOT bologna DOT it>, djgpp AT delorie DOT com wrote: > dinsmore7 AT my-deja DOT com wrote: > > > > ----------------------------------------------------------------- > > > > Whilst compiling any program: > > There ought to be some method of directing any object code files > > or executable files to a specific directory. Seems this would save > > one from the effort of fishing them out of the "bin" directory. > > Yeah or naaaaaaaay? > > Don't worry: there is such a method! > > I don't use rhide, so I don't know how to accomplish this, but if you > are using plain makefiles it is possible to specify a full path > for output, like this: > > gcc -o c:/myprogs/hello.exe hello.c > > BTW, it seems strange that you have to "fish out" from bin directory. > IIRC gcc puts executables in the current directory, so it seems that > you are running gcc from bin directory. Do you put your source > files in bin directory? This is not good practice in general, you'd > better make specific directories for your c files and then > run gcc from within the source directory. > > ciao > Giacomo > > ---------------------------------------------------------------------- -- > Giacomo Degli Esposti e-mail: pad2369 AT iperbole DOT bologna DOT it > via Ciamician, 4 giacomo DOT degliesposti AT optima DOT it > 40127 BOLOGNA - Italy > ---------------------------------------------------------------------- 18 h 56 EST saturday 03-25-00 Ocala, Florida Dear Mr. Giacomo Degli Esposti, Thank you for the prompt response. I suppose I will have to sort this problem out. Previously I had used the QuickBasic command-line compiler 4.0. I am now using the RHide and hoping to get accustomed to it. Thanks for your help which I will try out. It feels just grand to receive some encouragement in this endeavour. I will keep a look-out for you, sir, and feel that I will see you again soon. All the best, jerome dinsmore [dinsmore7 AT yahoo DOT com] --------------------------------------------------------------------- Sent via Deja.com http://www.deja.com/ Before you buy.