From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18597 invoked by alias); 2 Aug 2002 09:41:30 -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 18582 invoked from network); 2 Aug 2002 09:41:28 -0000 Received: from unknown (HELO harvester.transas.com) (193.125.200.2) by sources.redhat.com with SMTP; 2 Aug 2002 09:41:28 -0000 Received: from localhost (localhost [127.0.0.1]) by harvester.transas.com (Postfix) with SMTP id 8D7BE6B822; Fri, 2 Aug 2002 13:41:25 +0400 (MSD) Received: from clue.transas.com (clue.transas.com [10.0.0.42]) by harvester.transas.com (Postfix) with ESMTP id E343A6B831; Fri, 2 Aug 2002 13:41:16 +0400 (MSD) Received: by clue.transas.com with Internet Mail Service (5.5.2653.19) id ; Fri, 2 Aug 2002 13:40:02 +0400 Message-ID: <2E74F312D6980D459F3A05492BA40F8D011F82B9@clue.transas.com> From: Andrew Volkov To: Igor Gnip , gdb@sources.redhat.com Subject: RE: GDB 5.1.2 MINGW32 problems Date: Fri, 02 Aug 2002 02:41:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" X-SW-Source: 2002-08/txt/msg00010.txt.bz2 Hi Igor, >I am trying to compile RHIDE (www.rhide.com) for mingw32 platform ... > >it needs gdb 5.0 or later sources compiled in to make >integrated debugger >work ... > >I have solved the "readline" GDB 5+ problem in mingw32 buy installing >readline 4.2 mingw32 port and disabling readline that came >with gdb ... > > >but now some other problems occured: > >...... >checking for struct link_map32 in sys/link.h... no >checking for main in -lm... yes >checking for wctype in -lc... no >checking for wctype in -lw... no >checking for long long support in compiler... yes >checking for long long support in printf... no >checking for long double support in compiler... yes >checking for long double support in printf... no >checking for long double support in scanf... no >checking for unistd.h... (cached) yes >checking for getpagesize... (cached) yes >checking for working mmap... (cached) no >checking compiler warning flags... -Wimplicit -Wreturn-type -Wcomment >-Wtrigrap >hs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized >checking for cygwin... no >checking for tgetent in -lncurses... no >checking for tgetent in -lHcurses... no >checking for tgetent in -ltermlib... no >checking for tgetent in -ltermcap... (cached) yes >checking for X... no >configure: error: *** Gdb does not support native target >i686-pc-mingw32 >Configure in /mingw/src/gdb-5.2.1/mybuild/gdb failed, exiting. >Igor@LALA /mingw/src/gdb-5.2.1/mybuild >$ >do I need any patches and where can I find them ? You're need ncurses for mingw (as I know nobody ported ncurses to mingw, but you could try use pcurses). > >(my examining gdb-5.2.1/gdb/configure script I have come to >conclusion that >${gdb_host} is undefined >or that there is no gdb-5.2.1/gdb/config/mingw32.mh file - > but there >is cygwin.mh so why there is no mingw32? > >I have also tried to make configure script use cygwin file >instead with no >luck... > >I am no wizard so please help me. > >Any GDB version starting with 5.0 is good for me if it can >compile on mingw32 ... > Check mingw site (http://sourceforge.net/project/showfiles.php?group_id=2435), they have gdb 5.1.1-1 for mingw. Regards Andrey