This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: make clean doesn't run in gdbserver/common
> There are two common dirs in build tree, under gdb/ and gdbserver/
> respectively, so it is not a problem to run 'make distclean' on top of
> gdb build tree.
Aha, OK. Thanks for the explanation.
> When building native gdb, it is redundant here to build libcommon.a for
> the same target twice, but given gdb and gdbserver should be built
> separately, we have to build libcommon.a separately. Yes, we can think
> of a method to build libcommon.a once when building a native gdb.
Given that this isn't going to work in the cross case (where gdbserver
is going to be cross-compiled), I am not sure that it's really worth
the effort and/or complication (if any).
--
Joel