From: Alex Vinokur Newsgroups: comp.os.msdos.djgpp Subject: gxx -v : weird output Date: Wed, 05 Sep 2001 14:57:46 +0200 Organization: Scopus Network Technologies Lines: 39 Message-ID: <3B96214A.81667AF2@bigfoot.com> NNTP-Posting-Host: gateway.scopus.co.il (194.90.203.161) Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 999691087 5410401 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 =========================================== gcc version 2.95.3 20010315/djgpp (release) Windows98 =========================================== Here are 3 command lines and their output : %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) %gxx -v 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/collect2.exe d:/sys/djgpp/lib/crt0.o -Ld:/sys/djgpp/lib -Ld:/sys/djgpp/lib/gcc-lib/djgpp/2.953 -Ld:/sys/djgpp/bin -Ld:/sys/djgpp/lib -lstdcxx -lm -lgcc -lc -lgcc -Tdjgpp.djl d:/sys/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to `main' d:/sys/djgpp/lib/libc.a(crt1.o)(.text+0x44e):crt1.c: undefined reference to `main' collect2: ld returned 1 exit status Why does *output of 'gxx -v'* differ from one of 'gcc -v' and 'gpp -v'? It seems that output of 'gxx -v' is weird (?). =========================== Alex Vinokur mailto:alexvn AT bigfoot DOT com http://up.to/alexvn http://go.to/alexv_math ===========================