Mail Archives: djgpp/2000/03/25/21:35:12
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.
- Raw text -