This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: No rule to make target `../sim/arm/libsim.a', needed by `gdb.exe'
- From: Andrew Cagney <cagney at gnu dot org>
- To: libra <mr924352 at cs dot nthu dot edu dot tw>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 16 Mar 2004 17:44:12 -0500
- Subject: Re: No rule to make target `../sim/arm/libsim.a', needed by `gdb.exe'
- References: <1079179712.4052f9c0e066f@webmail.cs.nthu.edu.tw>
> Hello all.
cd to your GDB/build/gdb directory and then run:
sh -x .../src/gdb/configure --target=<your-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 ?