Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <004201c03e8a$567f0db0$5728fea9@timayum4srqln4> From: "Tim Prince" To: "Johan Niklasson" , References: <39F6CEEA DOT 82716197 AT uab DOT ericsson DOT se> Subject: Re: gdb5.0 on cygwin B20.1, compiler problems Date: Wed, 25 Oct 2000 06:49:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Apparently-From: N8TM AT aol DOT com Why not simply install and use a current version? ----- Original Message ----- From: "Johan Niklasson" To: Sent: Wednesday, October 25, 2000 5:15 AM Subject: gdb5.0 on cygwin B20.1, compiler problems > Hi! > > I have been trying for a few days now to compile gdb-5.0 > I have a NT sp4 machine > Cygwin B20.1 > gcc 2.7.2 (comes with the cygwin-release) > > I have been forced to change some lines in the makefiles because > obviously configure > have some problems. I'm currently stuck on win32-nat.c. And I was > wondering if you have an example of a makefile for gdb that works. It'd > be great to compare with. > I've been looking at the different mailinglist but have not found any > answer. > > If you haven't got any I'd like to know if you have any experience to > share. > > The error I get now is like this: > > /Programs/gdb-5.0/gdb> make > gcc -c -g -O2 -I/Program\ Files/Esoe/Microsoft\ Visual\ > Studio/Vc60/Include -I//D/Platform\ SDK/Inc > lude -I. -I. -I./config -DHAVE_CONFIG_H -DHAVE_TERMIOS > -D_GNU_H_WINDOWS32_SOCKETS -I./../include > /opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl > -I./../intl -I./tui -DUSE_ > INCLUDED_REGEX win32-nat.c > In file included from \Program Files\Esoe\Microsoft Visual > Studio\Vc60\Include\windef.h:166, > from \Program Files\Esoe\Microsoft Visual > Studio\Vc60\Include\windows.h:163, > from win32-nat.c:45: > \Program Files\Esoe\Microsoft Visual Studio\Vc60\Include\winnt.h:630: > #error Must define a target ar > chitecture. > make: *** [win32-nat.o] Error 1 > > (It seems that if I define _MSC_VER he asks for a file called windefs.h > that I can't find in GDB). > > Best regards > Johan > -- > ^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^ > Johan Niklasson > > tel: +46 - 8 - 727 41 68 (work) > +46 - 70- 220 1948 (mobile) > +46 - 8 - 604 21 71 (home) > fax: +46 - 8 - 727 49 47 > Ericsson Utvecklings AB > Box 1505 S-125 25 Älvsjö > ^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^V^ > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com