From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11785 invoked by alias); 28 Nov 2005 08:58:49 -0000 Received: (qmail 11778 invoked by uid 22791); 28 Nov 2005 08:58:49 -0000 X-Spam-Check-By: sourceware.org Received: from cse-mail.unl.edu (HELO cse-mail.unl.edu) (129.93.165.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 28 Nov 2005 08:58:47 +0000 Received: from [192.168.0.100] (CPE-24-208-78-172.neb.res.rr.com [24.208.78.172]) (authenticated bits=0) by cse-mail.unl.edu (8.13.5/8.13.5) with ESMTP id jAS8wcLn021368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Nov 2005 02:58:44 -0600 (CST) Message-ID: <438AC66D.5040505@cse.unl.edu> Date: Mon, 28 Nov 2005 09:57:00 -0000 From: Neo Jia User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) MIME-Version: 1.0 To: yang xiaoli CC: gdb@sourceware.org Subject: Re: how to cross-compile gdb for arm? References: In-Reply-To: Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (cse-mail.unl.edu [129.93.165.11]); Mon, 28 Nov 2005 02:58:44 -0600 (CST) X-Virus-Status: Clean 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/msg00600.txt.bz2 hi, You may refer to the following post, which has a build script. http://gcc.gnu.org/ml/gcc/2003-10/msg01339.html Thanks, Neo yang xiaoli wrote: > 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 -- I would remember that if researchers were not ambitions probably today we haven't the technology we are using!