| delorie.com/archives/browse.cgi | search |
| From: | Alex Vinokur <alexvn AT bigfoot DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: gcc, gxx, gpp |
| Date: | Tue, 04 Sep 2001 17:45:27 +0200 |
| Organization: | Scopus Network Technologies |
| Lines: | 40 |
| Message-ID: | <3B94F717.85347CD3@bigfoot.com> |
| References: | <3B94ECAF DOT 17E8D1E4 AT bigfoot DOT com> <20010904102630 DOT 02055 DOT 00006708 AT ng-bd1 DOT aol DOT com> |
| NNTP-Posting-Host: | gateway.scopus.co.il (194.90.203.161) |
| Mime-Version: | 1.0 |
| X-Trace: | fu-berlin.de 999614735 5064171 194.90.203.161 (16 [79865]) |
| X-Mailer: | Mozilla 4.7 [en] (Win98; I) |
| X-Accept-Language: | en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Sterten wrote:
> >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.
gcc is a C-compiler
gpp is a C++-compler.
What gxx is ? (Linker ?)
===========================
Alex Vinokur
mailto:alexvn AT bigfoot DOT com
http://up.to/alexvn
http://go.to/alexv_math
===========================
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |