From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3387 invoked by alias); 16 Mar 2004 22:44:20 -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 2891 invoked from network); 16 Mar 2004 22:44:14 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 16 Mar 2004 22:44:14 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 60BB62B92; Tue, 16 Mar 2004 17:44:12 -0500 (EST) Message-ID: <4057833C.3000708@gnu.org> Date: Tue, 16 Mar 2004 22:44:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: libra Cc: gdb@sources.redhat.com Subject: Re: No rule to make target `../sim/arm/libsim.a', needed by `gdb.exe' References: <1079179712.4052f9c0e066f@webmail.cs.nthu.edu.tw> In-Reply-To: <1079179712.4052f9c0e066f@webmail.cs.nthu.edu.tw> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00151.txt.bz2 > Hello all. cd to your GDB/build/gdb directory and then run: sh -x .../src/gdb/configure --target= you should see the problem (and a few others). It's using src/gdb/config/arm/arm.md (or similar, which refers to libsim.a) instead of src/gdb/config/asp/asp.md. You'll need to do some more config hacking. Andrew > I want to add new machine(simulator) to the gnu tool chain. > I have built the binutils gcc and newlib successfully. > When i build the gdb,i encounter the problem. > The error message is as follow: > > make[1]: *** No rule to make target `../sim/arm/libsim.a', needed by > `gdb.exe'. Stop. > make[1]: Leaving directory `/cygdrive/d/thesis/build/gdb/gdb' > > I have the modified the following file /gdb-6.0/config.sub > /gdb-6.0/gdb/configure.tgt /gdb-6.0/gdb/configure.host > > I inspect the make.out file,and i find that it would not configing the > /sim/common and /sim/ASP. > The ASP is my new machine(simulator) > How can i do ?