delorie.com/archives/browse.cgi | search |
From: | Alex Vinokur <alexvn AT bigfoot DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | gcc, gpp & option -v |
Date: | Tue, 11 Sep 2001 07:33:37 +0200 |
Organization: | Scopus Network Technologies |
Lines: | 72 |
Message-ID: | <3B9DA231.4D584808@bigfoot.com> |
NNTP-Posting-Host: | gateway.scopus.co.il (194.90.203.161) |
Mime-Version: | 1.0 |
X-Trace: | fu-berlin.de 1000182820 8512984 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 |
========= Wibdows98 ========= Here are some command lines using option -v. ------------------------------------------- %gcc -v Reading specs from d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc version 2.95.3 20010315/djgpp (release) %gpp -v Reading specs from d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc version 2.95.3 20010315/djgpp (release) %gcc -v a.c Reading specs from d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc version 2.95.3 20010315/djgpp (release) d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros d:/sys/djgpp/lib/djgpp.ver -remap a.c D:\SPE\BACKUP\ccP0jzjc.i GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax) [snip] GNU C version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C version 2.95.3 20010315/djgpp (release). [snip] gpp -v a.c Reading specs from d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/specs gcc version 2.95.3 20010315/djgpp (release) d:/sys/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dunix -Di386 -DGO32 -DDJGPP=2 -DMSDOS -D__unix__ -D__i386__ -D__GO32__ -D__DJGPP__=2 -D__MSDOS__ -D__unix -D__i386 -D__GO32 -D__DJGPP=2 -D__MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros d:/sys/djgpp/lib/djgpp.ver -remap a.c D:\SPE\BACKUP\ccnJ7Swy.ii GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax) [snip] GNU C++ version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C version 2.95.3 20010315/djgpp (release). [snip] ------------------------------------------- Some question : 1. Why do _both 'gcc -v' and 'gpp -v'_ produce the same output? 2. What is GNU CPP version ... ? (C compiler?) 3. 'gpp -v a.c' produces _C++ compiler_ version as well. Why doesn't 'gpp -v' do the same thing? 4. Is there any option that produces _C++ compiler_ version ? : %gpp <?-option> GNU C++ version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C version 2.95.3 20010315/djgpp (release). =========================== Alex Vinokur mailto:alexvn AT bigfoot DOT com mailto:alexvn AT dr DOT com http://up.to/alexvn http://go.to/alexv_math ===========================
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |