From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5634 invoked by alias); 6 Jul 2005 21:13:52 -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 5588 invoked by uid 22791); 6 Jul 2005 21:13:47 -0000 Received: from torfw.gnss.com (HELO TOREXCL1.gmi.domain) (209.47.22.60) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 06 Jul 2005 21:13:47 +0000 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: build under linux and for host mingw Date: Wed, 06 Jul 2005 21:13:00 -0000 Message-ID: From: "Julie Tao" To: X-SW-Source: 2005-07/txt/msg00044.txt.bz2 Hi, I downloaded gdb-6.3 and try to build a cross debugger for host mingw and build it on the Linux: --host =3D i386-mingw32 --target =3D mips --build =3D i386-redhat-linux I got the following error messages from config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:595: checking host system type configure:616: checking target system type configure:634: checking build system type configure:689: checking for a BSD compatible install configure:742: checking whether ln works configure:766: checking whether ln -s works configure:2033: checking for i386-mingw32-gnatbind configure:2065: checking for gnatbind configure:2098: checking whether compiler driver understands Ada configure:2131: checking how to compare bootstrapped objects configure:2229: checking for correct version of gmp.h configure:2242: i386-mingw32-gcc -c -g -O2 conftest.c 1>&5 configure:2232:17: gmp.h: No such file or directory configure: In function `main': configure:2236: `choke' undeclared (first use in this function) configure:2236: (Each undeclared identifier is reported only once configure:2236: for each function it appears in.) configure:2236: parse error before "me" configure: failed program was: #line 2231 "configure" #include "confdefs.h" #include "gmp.h" int main() { #if __GNU_MP_VERSION < 3 choke me #endif ; return 0; } Could anyone be kind to tell me what to do? Thanks! Julie