From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18890 invoked by alias); 4 Aug 2004 16:38:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 18817 invoked from network); 4 Aug 2004 16:38:10 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 4 Aug 2004 16:38:10 -0000 Received: from zaretski (pns03-204-66.inter.net.il [80.230.204.66]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id EBM31225; Wed, 4 Aug 2004 19:37:56 +0300 (IDT) Date: Wed, 04 Aug 2004 16:38:00 -0000 From: "Eli Zaretskii" To: Fabian Cenedese Message-Id: <6654-Wed04Aug2004193537+0300-eliz@gnu.org> CC: gdb@sources.redhat.com In-reply-to: <5.2.0.9.1.20040804083024.01bbb7a0@NT_SERVER> (message from Fabian Cenedese on Wed, 04 Aug 2004 10:41:37 +0200) Subject: Re: Compiling error Reply-to: Eli Zaretskii References: <5.2.0.9.1.20040804083024.01bbb7a0@NT_SERVER> X-SW-Source: 2004-08/txt/msg00030.txt.bz2 > Date: Wed, 04 Aug 2004 10:41:37 +0200 > From: Fabian Cenedese > > I have MSYS/MinGW/Cygwin. Configure went ok. But make gives this: > > make[1]: Entering directory `/home/Fabi/gdb-6.1.1/ppc/readline' > rm -f rltty.o > gcc -c -DHAVE_CONFIG_H -I. -I../../gdb-6.1.1/readline -DRL_LIBRARY_VERSION='"4.3"' -g -O2 ../../gdb-6.1.1/readline/rltty.c > In file included from ../../gdb-6.1.1/readline/rltty.c:44: > ../../gdb-6.1.1/readline/rltty.h:42:21: sgtty.h: No such file or directory > ../../gdb-6.1.1/readline/rltty.c:166: field `sgttyb' has incomplete type > ../../gdb-6.1.1/readline/rltty.c:175: confused by earlier errors, bailing out > make[1]: *** [rltty.o] Error 1 > make[1]: Leaving directory `/home/Fabi/gdb-6.1.1/ppc/readline' > make: *** [all-readline] Error 2 Where did you get the GDB sources? It sounds like you are trying to compile sources that were not ported to MinGW. If this doesn't give you any idea what to do, I suggest to ask the question on some MinGW-related forum (sorry, no URL), because the solution, if it exists, is probably MinGW-specific. > I couldn't find this sgtty.h neither in gdb nor in MSYS, MinGW > or Cygwin. What else do I need to compile gdb on Windows? > Or should I take the DJGPP road? The DJGPP port will build, allright (provided that you follow the instructions in gdb/config/djgpp/README), but the resulting gdb.exe will be unable to debug anything but DJGPP programs. So this is not what you want.