delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/04/10:15:42

From: DavMac AT iname DOT com (Davin McCall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I am lost on something
Date: Mon, 04 Oct 1999 13:11:33 GMT
Organization: Monash Uni
Lines: 19
Distribution: world
Message-ID: <37f8a702.15880504@newsserver.cc.monash.edu.au>
References: <37F777ED DOT 2B048DB8 AT gamewood DOT net> <003401bf0e14$594b38e0$661d64d8 AT stevenhe>
NNTP-Posting-Host: damcc5.halls.monash.edu.au
X-Trace: towncrier.cc.monash.edu.au 939042691 5450 130.194.198.138 (4 Oct 1999 13:11:31 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
NNTP-Posting-Date: 4 Oct 1999 13:11:31 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sun, 3 Oct 1999 19:58:32 -0700, "Steven C. Hendrickson"
<hendrick AT pe DOT net> wrote:

>BTW, the compile command is 'gxx prog.cpp -o prog.exe'

I'm not sure why it is that people seem to think that the order is
important in this regard. As long as the executable filename
immediately follows the "-o" switch, it will work correctly (assuming
all other arguments are correct). So,
	
	gxx -o prog.exe prog.cpp

Is just as valid (However, "gxx -o prog.cpp prog.exe" is not).

Davin.

__________________________________________________________
       *** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019