delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/04/10:30:06

Lines: 23
X-Admin: news AT aol DOT com
From: sterten AT aol DOT com (Sterten)
Newsgroups: comp.os.msdos.djgpp
Date: 04 Sep 2001 14:26:30 GMT
References: <3B94ECAF DOT 17E8D1E4 AT bigfoot DOT com>
Organization: AOL http://www.aol.com
Subject: Re: gcc, gxx, gpp
Message-ID: <20010904102630.02055.00006708@ng-bd1.aol.com>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

 >Questions :
 >  1. Does
 >         gcc -Wall myfile.cc
 >     create executable program for C++ source ?

no
 
 >  2. If the answer on question#1 is NO :
 >     Must *executable program for C++ source* be created in 2 steps :
 >     gcc -c -Wall myfile.cc
 >     gxx -o myprog.exe myfile.o ?

no, you can also do :  gpp myfile.cc -o myfile.exe
 
 >  3. Is gpp C++-compiler ?

yes

 >     In other words, does
 >         gpp -Wall myfile.cc
 >     create executable program for C++ source ?

you must specify the executable's name. See above.

- Raw text -


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