delorie.com/archives/browse.cgi | search |
Message-Id: | <199903150108.UAA24439@delorie.com> |
Comments: | Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk> |
From: | "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk> |
To: | "John Carbrey" <jcarbrey AT netcom DOT ca> |
Date: | Mon, 15 Mar 1999 01:06:23 +0000 |
MIME-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |