From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8943 invoked by alias); 28 Nov 2005 08:51:06 -0000 Received: (qmail 8935 invoked by uid 22791); 28 Nov 2005 08:51:06 -0000 X-Spam-Check-By: sourceware.org Received: from bay109-f13.bay109.hotmail.com (HELO hotmail.com) (64.4.19.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Nov 2005 08:51:05 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 28 Nov 2005 00:51:03 -0800 Message-ID: Received: from 64.4.19.200 by by109fd.bay109.hotmail.msn.com with HTTP; Mon, 28 Nov 2005 08:51:03 GMT X-Sender: alula418@hotmail.com From: "yang xiaoli" To: gdb@sourceware.org Bcc: Subject: how to cross-compile gdb for arm? Date: Mon, 28 Nov 2005 08:58:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00599.txt.bz2 I'll corss-compile gdb for arm board, will use gdb to debug on arm board. I use gdb6.0 or gdb6.3 and configure with: CC=arm-linux-gcc ../gdb-6.3/configure --target=arm-linux \ --build=arm-linux --host=arm-linux and has error when make: checking whether make sets $(MAKE)... (cached) yes checking for arm-linux-gcc ...(cached) arm-linux-gcc checking for c Compiler default output in a.out checking whether the c compiler makes in configure:error: cannot run c compiled programs if you meant to cross compile usr "--host" see 'config.log' for more details I don't know how to do with it ,something wrong? _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn