Mail Archives: djgpp/1997/08/15/09:41:30
In article <871495613 DOT 23048 AT dejanews DOT com> you wrote:
> >Please add -v to the gcc switches and post everything that it prints.
> D:\program\temp>gcc -v temp.c gcc version 2_4_5 cpp -lang-c -v -undef
> -D__GNUC__=2 -DWINNT -Di386 -DM_COFF -D__WINNT__ -D__i386 __ -D__M_COFF__
> -D__WINNT -D__i386 -D__M_COFF temp.c C:/temp/cc000290.i
I suppose this was the following, before it got line-wrapped?
> D:\program\temp>gcc -v temp.c
> gcc version 2_4_5
> cpp -lang-c -v -undef -D__GNUC__=2 -DWINNT -Di386 -DM_COFF [...]
If so, you obviously have another gcc, not DJGPP lying around there.
DJGPP's gcc is version 2.7.2, not 2_4_5 (2.4.5), and it sure as hell
doesn't define WINNT :-)
So this is a bug in your NT-gcc (Cygnus-W32, probably), not in DJGPP.
If you want to use DJGPP, be sure that its gcc.exe is seen first in
the path, before the one from cygnus or whichever other ones you have.
HBB
- Raw text -