delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/15/09:41:30

Date: Fri, 15 Aug 1997 15:41:39 +0200
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Subject: Re: Abnormal Program Termination
To: ravenwing_np AT hotmail DOT com
Cc: djgpp AT delorie DOT com
Message-id: <01IMH2IKCCJ28WVYJS@mail>
Organization: RWTH Aachen, III. physikalisches Institut B
Newsgroups: comp.os.msdos.djgpp

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 -


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