From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: changing the output path Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <43drrskh2k0427jqbgqkbeed9df00qtpll@4ax.com> References: <8pj20t$n73$1 AT nnrp1 DOT deja DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 X-Trace: /wzbxYmTVGPvWBMPrYqqcSX1B+bXjWjLveWhCH1TeKySrfbMGri3dDx3asB8JSk422uakLuv++5c!fn9b34cqU7gF+41zLc8Xq+HDezYNOI+ooVKp2P1yISTgVzxI3DQZ/OtyodOz/kd12OjLmAMYP4PA!aLyVRU0= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 12 Sep 2000 04:43:54 GMT Distribution: world Date: Tue, 12 Sep 2000 04:43:55 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 11 Sep 2000 16:42:10 GMT, lark047 AT my-deja DOT com wrote: >is there any way to do this? i want both a.out and a.exe to go to a >different directory then my source code. i know in bcc55, there is a >command line switch for doing this, but is such a thing in gcc? gcc -O -Wall baz.c -o /foo/bar/baz.exe the part after -o is important -- MS (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease, multiple sclerosis (see). This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/