From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4984 invoked by alias); 16 Feb 2007 16:50:34 -0000 Received: (qmail 4974 invoked by uid 22791); 16 Feb 2007 16:50:33 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.169) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Feb 2007 16:50:29 +0000 Received: by ug-out-1314.google.com with SMTP id 75so194090ugb for ; Fri, 16 Feb 2007 08:50:27 -0800 (PST) Received: by 10.78.171.13 with SMTP id t13mr476840hue.1171644614145; Fri, 16 Feb 2007 08:50:14 -0800 (PST) Received: by 10.78.169.5 with HTTP; Fri, 16 Feb 2007 08:50:13 -0800 (PST) Message-ID: Date: Fri, 16 Feb 2007 20:12:00 -0000 From: "Supriya Sriraman" To: "Rakesh Kumar" , gdb@sourceware.org Subject: Re: Configuring GDB for ARM ELF In-Reply-To: <20070216125521.GB32281@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070215115045.GB26850@caradoc.them.org> <20070216125521.GB32281@caradoc.them.org> 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/msg00176.txt.bz2 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.