From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10237 invoked by alias); 29 Aug 2003 15:33:15 -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 10230 invoked from network); 29 Aug 2003 15:33:14 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.54) by sources.redhat.com with SMTP; 29 Aug 2003 15:33:14 -0000 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [10.1.127.39]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id QAA19025 for ; Fri, 29 Aug 2003 16:33:13 +0100 (BST) Received: from notescammail2.cambridge.arm.com (notescammail2.cambridge.arm.com [10.1.255.56]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id QAA11161 for ; Fri, 29 Aug 2003 16:33:10 +0100 (BST) Subject: Cross Compiling the GDB 6.0 branch To: gdb@sources.redhat.com Message-ID: From: Chris.Pedley@arm.com Date: Fri, 29 Aug 2003 15:33:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2003-08/txt/msg00326.txt.bz2 Hi, I checked out the gdb_6_0-branch earlier today and am having some trouble cross compiling this for ARM Linux (its all building fine to use locally on my Intel box). Just to clarify - I'm trying to build a gdb to be run on an ARM Linux machine, debugging ARM applications but built on an Intel box (host=arm-linux, target=arm-linux, build=i686-linux). When configuring readline the following error is reported: checking for mbstate_t... configure: error: cannot run test program while cross compiling Unlike errors about cross compiling when configuring readline whilst building gdb 5.3, this error does stop the build. I've tried hunting around for a --disable-testing / --without-test configuration option but can't find anything obvious. Any ideas? Thanks, Chris -- Chris Pedley, Graduate Engineer Intellectual Property Solutions Division ARM Ltd, 110 Fulbourn Rd, Cambridge CB1 9NJ UK Tel : +44 1223 400847 Fax: +44 1223 400410