Mail Archives: djgpp/2001/10/29/16:36:48
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 -