www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/29/16:36:48

From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GCC bug (semi OT on clc)
Date: 29 Oct 2001 21:22:02 GMT
Organization: Cornell University
Lines: 69
Sender: asu1 AT cornell DOT invalid (on 128.253.251.163)
Message-ID: <Xns9149A67BFDD55ASINANUNUR@132.236.56.8>
References: <3BDD9BC7 DOT E51EA7C8 AT yahoo DOT com>
NNTP-Posting-Host: 128.253.251.163
X-Trace: news01.cit.cornell.edu 1004390522 1848 128.253.251.163 (29 Oct 2001 21:22:02 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 29 Oct 2001 21:22:02 GMT
User-Agent: Xnews/4.06.22
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

CBFalconer <cbfalconer AT yahoo DOT com> wrote in
news:3BDD9BC7 DOT E51EA7C8 AT yahoo DOT com: 

> Under DJGPP, when compiling cokus.c from:
> 
>     http://www.math.keio.ac.jp/~matumoto/cokus.c
> 
> we get the following:
> 
>> [1] c:\dnld\scratch>gcc -v cokus.c
>> Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs
>> gcc version 2.95.3 20010315/djgpp (release)

<snip>

when i do:

C:\www\work>gcc -v cokus.c -Wall

i get the output below, and no problems. i have a feeling the command line 
you showed is not the command line you actually used. i don't think strict 
ansi and pedantic are enabled by default. remember // comments don't exist 
in ANSI C prior to C99.

Reading specs from c:/djgpp/lib/gcc-lib/djgpp/2.953/specs
gcc version 2.95.3 20010315/djgpp (release)
 c:/djgpp/lib/gcc-lib/djgpp/2.953/cpp0.exe -lang-c -v -D__GNUC__=2 -
D__GNUC_MINO
R__=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 -
Asyst
em(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) -Wall -Acpu(i386) -
Amachine
(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentium__ -imacros 
c:/djgpp/lib/djgpp
.ver -remap cokus.c c:/djgpp/tmp\ccGll8Cl.i
GNU CPP version 2.95.3 20010315/djgpp (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/lib/gcc-lib/djgpp/2.953/include
 c:/djgpp/include
End of search list.
The following default directories have been omitted from the search path:
 $DJDIR/lang/cxx
 $DJDIR/lib/gcc-lib/djgpp/2.953/../../../../djgpp/include
End of omitted list.
 c:/djgpp/lib/gcc-lib/djgpp/2.953/cc1.exe c:/djgpp/tmp\ccGll8Cl.i -quiet -
dumpba
se cokus.c -Wall -version -o c:/djgpp/tmp\cc3VzCnq.s
GNU C version 2.95.3 20010315/djgpp (release) (djgpp) compiled by GNU C 
version
2.95.3 20010315/djgpp (release).
 c:/djgpp/bin/as.exe -o c:/djgpp/tmp\cc5IeKQv.o c:/djgpp/tmp\cc3VzCnq.s
 c:/djgpp/lib/gcc-lib/djgpp/2.953/collect2.exe c:/djgpp/lib/crt0.o -
Lc:/djgpp/li
b -Lc:/djgpp/lib/gcc-lib/djgpp/2.953 -Lc:/djgpp/bin -Lc:/djgpp/lib 
c:/djgpp/tmp\
cc5IeKQv.o -lgcc -lc -lgcc -Tdjgpp.djl
 c:/djgpp/bin/stubify.exe -v a.out
stubify for djgpp V2.X executables, Copyright (C) 1995 DJ Delorie
stubify: a.out -> a.000 -> a.exe



-- 
--------------------------------
A. Sinan Unur
http://www.unur.com/

- Raw text -


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