From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14546 invoked by alias); 21 Feb 2007 00:55:13 -0000 Received: (qmail 14403 invoked by uid 22791); 21 Feb 2007 00:55:13 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 21 Feb 2007 00:55:07 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id C1C4311D353; Tue, 20 Feb 2007 16:55:04 -0800 (PST) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03391-02-32; Tue, 20 Feb 2007 16:55:03 -0800 (PST) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id CA1BD11CF6E; Tue, 20 Feb 2007 16:55:03 -0800 (PST) Received: from 192.168.92.92 ([192.168.92.92]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Wed, 21 Feb 2007 00:55:03 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 20 Feb 2007 16:55:02 -0800 Subject: Re: Configuring GDB for ARM ELF From: Michael Snyder To: Supriya Sriraman Cc: Rakesh Kumar , gdb@sourceware.org In-Reply-To: References: <20070215115045.GB26850@caradoc.them.org> <20070216125521.GB32281@caradoc.them.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 21 Feb 2007 01:11:00 -0000 Message-Id: <1172019302.19657.77.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00219.txt.bz2 On Fri, 2007-02-16 at 10:50 -0600, Supriya Sriraman wrote: > On 2/16/07, Daniel Jacobowitz wrote: > > On Fri, Feb 16, 2007 at 10:33:24AM +0530, Rakesh Kumar wrote: > > > checking for i686-pc-linux-gnu-gcc... gcc > > > > > checking whether the C compiler works... configure: error: cannot run C > > > compiled programs. > > > If you meant to cross compile, use `--host'. > > > See `config.log' for more details. > > I have seen this before. What were your --target and --host options > when you ran the .configure command? Be sure to specify --target, > --host and --build. Yeah, looks like configure doesn't realize that this is a cross target.