Message-Id: <199903150108.UAA24439@delorie.com> Comments: Authenticated sender is From: "George Foot" To: "John Carbrey" Date: Mon, 15 Mar 1999 01:06:23 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: .exe directory CC: djgpp AT delorie DOT com X-mailer: Pegasus Mail for Win32 (v2.42a) Reply-To: djgpp AT delorie DOT com On 14 Mar 99 at 18:14, John Carbrey wrote: > When I compile a program it creates the exe in djgpp/bin > > is there a way that I can have the exe go to the directory of the source > file? gcc actually outputs to `a.exe' in the current directory by default. To specify a new filename or location for the executable, use the `-o' option. The word following it is used as the filename of the executable. gcc foo.c -o foo.exe -- George